Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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 10.0.0-master/package.mo): time 2.109/2.109, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001101/0.001101, allocations: 201.2 kB / 490.8 MB, free: 1.922 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.608/1.608, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 93.66 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7803/0.7815, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/1.123, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.7/6.823, allocations: 1.92 GB / 3.132 GB, free: 423.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/6.823, allocations: 83.94 kB / 3.132 GB, free: 423.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 2.001/8.825, allocations: 0.5732 GB / 3.705 GB, free: 267.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/8.825, allocations: 11.05 kB / 3.705 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/8.827, allocations: 347.8 kB / 3.705 GB, free: 267.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/8.83, allocations: 0.8058 MB / 3.706 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004232/8.83, allocations: 107.2 kB / 3.706 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/8.83, allocations: 53.5 kB / 3.706 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001785/8.832, allocations: 0.7036 MB / 3.707 GB, free: 266.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/8.834, allocations: 0.8805 MB / 3.708 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/8.834, allocations: 0.9062 kB / 3.708 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/8.834, allocations: 1.688 kB / 3.708 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/8.835, allocations: 39.64 kB / 3.708 GB, free: 266.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/8.842, allocations: 3.98 MB / 3.712 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/8.842, allocations: 250.4 kB / 3.712 GB, free: 262.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/8.843, allocations: 206.5 kB / 3.712 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/8.843, allocations: 110.1 kB / 3.712 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/8.843, allocations: 36.19 kB / 3.712 GB, free: 262.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.855e-06/8.843, allocations: 0 / 3.712 GB, free: 262.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.003299/8.846, allocations: 1.105 MB / 3.713 GB, free: 261.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/8.846, allocations: 59.59 kB / 3.713 GB, free: 261.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/8.847, allocations: 0.5652 MB / 3.714 GB, free: 261.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/8.847, allocations: 30.64 kB / 3.714 GB, free: 261.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/8.848, allocations: 408.2 kB / 3.714 GB, free: 261 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/8.848, allocations: 132.5 kB / 3.714 GB, free: 260.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/8.848, allocations: 0.5625 kB / 3.714 GB, free: 260.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001427/8.848, allocations: 380.1 kB / 3.715 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/8.848, allocations: 194.1 kB / 3.715 GB, free: 260.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/8.849, allocations: 364.4 kB / 3.715 GB, free: 260.2 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/8.851, allocations: 0.719 MB / 3.716 GB, free: 259.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/8.851, allocations: 4.922 kB / 3.716 GB, free: 259.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001048/8.852, allocations: 0.6386 MB / 3.717 GB, free: 259.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/8.852, allocations: 7.594 kB / 3.717 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/8.852, allocations: 4 kB / 3.717 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/8.852, allocations: 8 kB / 3.717 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/8.853, allocations: 147.3 kB / 3.717 GB, free: 259.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/8.853, allocations: 11.94 kB / 3.717 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009798/8.854, allocations: 85.47 kB / 3.717 GB, free: 259 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/8.854, allocations: 35.98 kB / 3.717 GB, free: 258.9 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001336/8.854, allocations: 116.8 kB / 3.717 GB, free: 258.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/8.854, allocations: 79.06 kB / 3.717 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/8.854, allocations: 82.67 kB / 3.717 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/8.854, allocations: 7.562 kB / 3.717 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/8.854, allocations: 0 / 3.717 GB, free: 258.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005102/8.855, allocations: 0.6594 MB / 3.718 GB, free: 257.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/8.857, allocations: 1.435 MB / 3.719 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/8.857, allocations: 4 kB / 3.719 GB, free: 256.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/8.857, allocations: 87.89 kB / 3.719 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/8.857, allocations: 4 kB / 3.719 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/8.857, allocations: 8 kB / 3.719 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/8.857, allocations: 11.94 kB / 3.719 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/8.857, allocations: 7.188 kB / 3.719 GB, free: 256.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008929/8.858, allocations: 0.9628 MB / 3.72 GB, free: 255.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001409/8.859, allocations: 1.625 MB / 3.722 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/8.86, allocations: 223.7 kB / 3.722 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/8.86, allocations: 11.98 kB / 3.722 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/8.861, allocations: 50.16 kB / 3.722 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/8.861, allocations: 23.97 kB / 3.722 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/8.861, allocations: 27.89 kB / 3.722 GB, free: 253 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004847/8.861, allocations: 446.7 kB / 3.723 GB, free: 252.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002054/8.863, allocations: 491.1 kB / 3.723 GB, free: 252.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.001854/8.865, allocations: 1.509 MB / 3.725 GB, free: 250.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006801/8.866, allocations: 435.4 kB / 3.725 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/8.866, allocations: 4 kB / 3.725 GB, free: 250.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/8.866, allocations: 182.5 kB / 3.725 GB, free: 250.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/8.868, allocations: 388.1 kB / 3.726 GB, free: 249.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/8.87, allocations: 1.389 MB / 3.727 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/8.871, allocations: 1.187 MB / 3.728 GB, free: 247.3 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/8.871, allocations: 0 / 3.728 GB, free: 247.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)