Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 169.3 kB / 487 MB, free: 5.371 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.3 MB / 0.7819 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009859/0.0009859, allocations: 90.75 kB / 0.9213 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6397/0.6407, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.9399, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.564/5.504, allocations: 1.916 GB / 3.122 GB, free: 354.5 MB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/5.504, allocations: 87.94 kB / 3.122 GB, free: 354.5 MB / 1.135 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 1.202/6.706, allocations: 365.4 MB / 3.478 GB, free: 303.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/6.706, allocations: 10.56 kB / 3.478 GB, free: 303.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/6.708, allocations: 287.8 kB / 3.479 GB, free: 303.8 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/6.71, allocations: 0.7186 MB / 3.479 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/6.71, allocations: 21.78 kB / 3.479 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.658e-05/6.71, allocations: 34.22 kB / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007023/6.71, allocations: 459.1 kB / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/6.711, allocations: 495.9 kB / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/6.711, allocations: 0 / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/6.711, allocations: 0 / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/6.711, allocations: 23.22 kB / 3.48 GB, free: 303.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/6.714, allocations: 2.349 MB / 3.483 GB, free: 302.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/6.714, allocations: 250.6 kB / 3.483 GB, free: 302.5 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/6.715, allocations: 211 kB / 3.483 GB, free: 302.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/6.715, allocations: 103.2 kB / 3.483 GB, free: 302.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/6.715, allocations: 37.81 kB / 3.483 GB, free: 302.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/6.715, allocations: 0 / 3.483 GB, free: 302.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=48): time 0.002493/6.717, allocations: 1.214 MB / 3.484 GB, free: 302 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/6.717, allocations: 59.44 kB / 3.485 GB, free: 301.9 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/6.718, allocations: 384.3 kB / 3.485 GB, free: 301.8 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/6.718, allocations: 25.7 kB / 3.485 GB, free: 301.8 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/6.718, allocations: 253.8 kB / 3.485 GB, free: 301.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/6.718, allocations: 165.3 kB / 3.485 GB, free: 301.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/6.718, allocations: 3.781 kB / 3.485 GB, free: 301.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/6.718, allocations: 365.6 kB / 3.486 GB, free: 301.2 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/6.718, allocations: 161.4 kB / 3.486 GB, free: 301.2 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/6.719, allocations: 241.6 kB / 3.486 GB, free: 301.2 MB / 1.135 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.00249/6.721, allocations: 1.041 MB / 3.487 GB, free: 301 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/6.721, allocations: 3.906 kB / 3.487 GB, free: 300.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006235/6.722, allocations: 499.3 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/6.722, allocations: 7.125 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/6.722, allocations: 0 / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/6.722, allocations: 7.547 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/6.722, allocations: 89.89 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/6.722, allocations: 3.25 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006659/6.723, allocations: 37.41 kB / 3.488 GB, free: 300.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/6.723, allocations: 15.28 kB / 3.488 GB, free: 300.9 MB / 1.135 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.0001237/6.723, allocations: 132.5 kB / 3.488 GB, free: 300.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/6.723, allocations: 62.12 kB / 3.488 GB, free: 300.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/6.723, allocations: 70.52 kB / 3.488 GB, free: 300.7 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/6.723, allocations: 3.875 kB / 3.488 GB, free: 300.7 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/6.723, allocations: 2.375 kB / 3.488 GB, free: 300.7 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004804/6.724, allocations: 493.5 kB / 3.488 GB, free: 300.6 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/6.726, allocations: 1.454 MB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/6.726, allocations: 3.656 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/6.726, allocations: 119.5 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/6.726, allocations: 3.938 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/6.726, allocations: 10.41 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/6.726, allocations: 11.56 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/6.726, allocations: 7.656 kB / 3.49 GB, free: 300.1 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009105/6.727, allocations: 1.085 MB / 3.491 GB, free: 299.4 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001301/6.729, allocations: 1.753 MB / 3.493 GB, free: 298.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/6.729, allocations: 197.4 kB / 3.493 GB, free: 298.3 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.32e-05/6.729, allocations: 11.33 kB / 3.493 GB, free: 298.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/6.73, allocations: 28.94 kB / 3.493 GB, free: 298.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/6.73, allocations: 39.47 kB / 3.493 GB, free: 298.3 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/6.73, allocations: 31.83 kB / 3.493 GB, free: 298.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0002892/6.73, allocations: 300 kB / 3.493 GB, free: 298.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001545/6.732, allocations: 369.5 kB / 3.494 GB, free: 298.2 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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.001349/6.733, allocations: 1.195 MB / 3.495 GB, free: 298 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0006075/6.734, allocations: 407.1 kB / 3.495 GB, free: 298 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/6.734, allocations: 3.438 kB / 3.495 GB, free: 298 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/6.734, allocations: 219.3 kB / 3.495 GB, free: 298 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/6.736, allocations: 401.9 kB / 3.496 GB, free: 297.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/6.738, allocations: 1.246 MB / 3.497 GB, free: 297.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/6.738, allocations: 1.062 MB / 3.498 GB, free: 296.8 MB / 1.135 GB Notification: Performance of SimCode: time 6.21e-07/6.738, allocations: 0 / 3.498 GB, free: 296.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)