Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7658/0.7658, allocations: 141.8 MB / 149.1 MB, free: 12.16 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001103, allocations: 185.8 kB / 182 MB, free: 8.934 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.4 MB / 436.1 MB, free: 1.234 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009427, allocations: 100.6 kB / 0.5071 GB, free: 17.73 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 273.7 kB / 0.5885 GB, free: 2.93 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3457/0.3475, allocations: 89.63 MB / 0.676 GB, free: 136.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.4961, allocations: 82.78 MB / 0.7568 GB, free: 81.5 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.332/3.829, allocations: 1.876 GB / 2.633 GB, free: 222.7 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/3.829, allocations: 86.81 kB / 2.633 GB, free: 222.6 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.9901/4.819, allocations: 360.2 MB / 2.985 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/4.819, allocations: 13.25 kB / 2.985 GB, free: 147.8 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/4.821, allocations: 286.7 kB / 2.985 GB, free: 147.6 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/4.823, allocations: 0.7004 MB / 2.986 GB, free: 146.8 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/4.823, allocations: 20 kB / 2.986 GB, free: 146.8 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/4.823, allocations: 32 kB / 2.986 GB, free: 146.8 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008536/4.824, allocations: 462.5 kB / 2.987 GB, free: 146.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/4.825, allocations: 491.9 kB / 2.987 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/4.825, allocations: 7.906 kB / 2.987 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.651e-05/4.825, allocations: 0 / 2.987 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/4.825, allocations: 21.31 kB / 2.987 GB, free: 145.8 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/4.828, allocations: 2.258 MB / 2.989 GB, free: 143.4 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/4.828, allocations: 298.6 kB / 2.99 GB, free: 143.1 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/4.828, allocations: 201.5 kB / 2.99 GB, free: 142.9 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/4.829, allocations: 104.5 kB / 2.99 GB, free: 142.8 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/4.829, allocations: 42.56 kB / 2.99 GB, free: 142.7 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=43): time 2.866e-06/4.829, allocations: 0 / 2.99 GB, free: 142.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=48): time 0.002407/4.831, allocations: 1.197 MB / 2.991 GB, free: 141.5 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/4.831, allocations: 59.84 kB / 2.991 GB, free: 141.4 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/4.831, allocations: 381.4 kB / 2.991 GB, free: 141 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/4.832, allocations: 29.64 kB / 2.992 GB, free: 141 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/4.832, allocations: 260.2 kB / 2.992 GB, free: 140.7 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/4.832, allocations: 161.5 kB / 2.992 GB, free: 140.6 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/4.832, allocations: 0 / 2.992 GB, free: 140.6 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.312e-05/4.832, allocations: 370.8 kB / 2.992 GB, free: 140.2 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/4.832, allocations: 161 kB / 2.992 GB, free: 140 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/4.832, allocations: 248 kB / 2.993 GB, free: 139.8 MB / 0.7138 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/4.835, allocations: 1.007 MB / 2.994 GB, free: 138.7 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/4.835, allocations: 4 kB / 2.994 GB, free: 138.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006004/4.835, allocations: 494.3 kB / 2.994 GB, free: 138.2 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/4.835, allocations: 11.28 kB / 2.994 GB, free: 138.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/4.835, allocations: 0 / 2.994 GB, free: 138.2 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/4.835, allocations: 4 kB / 2.994 GB, free: 138.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/4.836, allocations: 91.91 kB / 2.994 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/4.836, allocations: 16.08 kB / 2.994 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/4.836, allocations: 19.89 kB / 2.994 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/4.836, allocations: 12 kB / 2.994 GB, free: 138.1 MB / 0.7138 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/4.836, allocations: 132.8 kB / 2.994 GB, free: 137.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-05/4.837, allocations: 59.25 kB / 2.994 GB, free: 137.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/4.837, allocations: 61.5 kB / 2.995 GB, free: 137.8 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/4.837, allocations: 8 kB / 2.995 GB, free: 137.8 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/4.837, allocations: 0 / 2.995 GB, free: 137.8 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004897/4.837, allocations: 497.9 kB / 2.995 GB, free: 137.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/4.839, allocations: 1.45 MB / 2.996 GB, free: 135.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/4.839, allocations: 4 kB / 2.996 GB, free: 135.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/4.84, allocations: 124.4 kB / 2.997 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/4.84, allocations: 8 kB / 2.997 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/4.84, allocations: 15.91 kB / 2.997 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/4.84, allocations: 11.92 kB / 2.997 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/4.84, allocations: 8 kB / 2.997 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008961/4.841, allocations: 1.127 MB / 2.998 GB, free: 134.3 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00134/4.842, allocations: 1.811 MB / 2.999 GB, free: 132.2 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/4.842, allocations: 188.5 kB / 3 GB, free: 132 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.354e-05/4.842, allocations: 11.98 kB / 3 GB, free: 132 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/4.843, allocations: 27.83 kB / 3 GB, free: 132 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/4.843, allocations: 43.86 kB / 3 GB, free: 132 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/4.843, allocations: 24 kB / 3 GB, free: 131.9 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0002772/4.843, allocations: 298.9 kB / 3 GB, free: 131.6 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001529/4.845, allocations: 364 kB / 3 GB, free: 131.3 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/4.846, allocations: 1.206 MB / 3.002 GB, free: 130.2 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0006065/4.847, allocations: 404.5 kB / 3.002 GB, free: 129.8 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/4.847, allocations: 4 kB / 3.002 GB, free: 129.8 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/4.847, allocations: 220.7 kB / 3.002 GB, free: 129.6 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/4.849, allocations: 394.8 kB / 3.003 GB, free: 129.2 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/4.851, allocations: 1.224 MB / 3.004 GB, free: 127.9 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/4.851, allocations: 1.06 MB / 3.005 GB, free: 126.8 MB / 0.7138 GB Notification: Performance of SimCode: time 6.81e-07/4.851, allocations: 0 / 3.005 GB, free: 126.8 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)