Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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 8.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 185.3 kB / 366.3 MB, free: 2.004 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.2 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 90.55 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2944/0.2956, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/1.083, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/5.565, allocations: 2.073 GB / 3.045 GB, free: 2.254 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/5.565, allocations: 87.88 kB / 3.045 GB, free: 2.168 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 1.075/6.641, allocations: 259.3 MB / 3.299 GB, free: 127.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/6.641, allocations: 8 kB / 3.299 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/6.642, allocations: 187 kB / 3.299 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000811/6.643, allocations: 0.5119 MB / 3.299 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/6.643, allocations: 15.91 kB / 3.299 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/6.643, allocations: 27.94 kB / 3.299 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/6.643, allocations: 373.9 kB / 3.3 GB, free: 126.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006151/6.644, allocations: 444.2 kB / 3.3 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/6.644, allocations: 0 / 3.3 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/6.644, allocations: 0 / 3.3 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/6.644, allocations: 17 kB / 3.3 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/6.646, allocations: 1.629 MB / 3.302 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/6.647, allocations: 186.4 kB / 3.302 GB, free: 123.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/6.647, allocations: 168.2 kB / 3.302 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/6.647, allocations: 101.3 kB / 3.302 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/6.647, allocations: 34.8 kB / 3.302 GB, free: 123.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/6.647, allocations: 4 kB / 3.302 GB, free: 123.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=29): time 0.00169/6.649, allocations: 0.8331 MB / 3.303 GB, free: 122.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/6.649, allocations: 59.41 kB / 3.303 GB, free: 122.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/6.649, allocations: 294.1 kB / 3.303 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/6.649, allocations: 25.7 kB / 3.303 GB, free: 122.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/6.649, allocations: 223.8 kB / 3.304 GB, free: 122 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6e-05/6.649, allocations: 102.5 kB / 3.304 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/6.649, allocations: 4 kB / 3.304 GB, free: 121.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/6.649, allocations: 350.7 kB / 3.304 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/6.65, allocations: 112.6 kB / 3.304 GB, free: 121.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/6.65, allocations: 198.2 kB / 3.304 GB, free: 121.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/6.65, allocations: 147.9 kB / 3.304 GB, free: 121.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/6.65, allocations: 0 / 3.304 GB, free: 121.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004514/6.65, allocations: 365.6 kB / 3.305 GB, free: 120.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/6.65, allocations: 18.05 kB / 3.305 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/6.65, allocations: 0 / 3.305 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/6.65, allocations: 4 kB / 3.305 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/6.651, allocations: 59.92 kB / 3.305 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/6.651, allocations: 7.984 kB / 3.305 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/6.651, allocations: 15.91 kB / 3.305 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/6.651, allocations: 19.98 kB / 3.305 GB, free: 120.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001005/6.651, allocations: 108.9 kB / 3.305 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/6.651, allocations: 43.53 kB / 3.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/6.652, allocations: 48.19 kB / 3.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/6.652, allocations: 4 kB / 3.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/6.652, allocations: 0 / 3.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003905/6.652, allocations: 373.1 kB / 3.305 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/6.653, allocations: 1.047 MB / 3.306 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/6.653, allocations: 4 kB / 3.306 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/6.654, allocations: 71.91 kB / 3.306 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/6.654, allocations: 8 kB / 3.307 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/6.654, allocations: 4 kB / 3.307 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/6.654, allocations: 7.984 kB / 3.307 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/6.654, allocations: 7.938 kB / 3.307 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006622/6.654, allocations: 0.7792 MB / 3.307 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001027/6.655, allocations: 1.359 MB / 3.309 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/6.656, allocations: 160.4 kB / 3.309 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/6.656, allocations: 4 kB / 3.309 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/6.656, allocations: 31.97 kB / 3.309 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/6.656, allocations: 19.89 kB / 3.309 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/6.656, allocations: 19.98 kB / 3.309 GB, free: 116.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002415/6.656, allocations: 228.6 kB / 3.309 GB, free: 115.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00145/6.658, allocations: 292 kB / 3.309 GB, free: 115.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001383/6.659, allocations: 1.098 MB / 3.31 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004511/6.66, allocations: 275.8 kB / 3.311 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/6.66, allocations: 4.5 kB / 3.311 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/6.66, allocations: 139.8 kB / 3.311 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/6.661, allocations: 252.3 kB / 3.311 GB, free: 113.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/6.663, allocations: 0.7704 MB / 3.312 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/6.663, allocations: 0.9357 MB / 3.313 GB, free: 112 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/6.663, allocations: 7.938 kB / 3.313 GB, free: 112 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)