Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.581/1.581, allocations: 289.8 MB / 297.1 MB, free: 9.043 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.001188/0.001188, allocations: 185.2 kB / 366.3 MB, free: 11.32 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.763/1.763, allocations: 205.1 MB / 0.6256 GB, free: 11.38 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.8 kB / 0.7396 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5848/0.5859, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.8224, allocations: 116.3 MB / 0.9726 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.741, allocations: 2.076 GB / 3.049 GB, free: 219.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/5.741, allocations: 91.02 kB / 3.049 GB, free: 219.7 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.302/7.043, allocations: 367.6 MB / 3.408 GB, free: 225.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/7.043, allocations: 8 kB / 3.408 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/7.044, allocations: 183 kB / 3.408 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/7.045, allocations: 0.5578 MB / 3.409 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/7.045, allocations: 16 kB / 3.409 GB, free: 224.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.896e-05/7.045, allocations: 24 kB / 3.409 GB, free: 224.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006088/7.046, allocations: 357.9 kB / 3.409 GB, free: 224.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/7.046, allocations: 368.5 kB / 3.409 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/7.046, allocations: 4 kB / 3.409 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/7.046, allocations: 0 / 3.409 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/7.046, allocations: 13 kB / 3.409 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/7.049, allocations: 1.973 MB / 3.411 GB, free: 221.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/7.049, allocations: 185.5 kB / 3.411 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/7.049, allocations: 160.8 kB / 3.412 GB, free: 221.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/7.05, allocations: 187 kB / 3.412 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/7.05, allocations: 38.56 kB / 3.412 GB, free: 221 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/7.05, allocations: 0 / 3.412 GB, free: 221 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0009931/7.051, allocations: 386.3 kB / 3.412 GB, free: 220.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/7.051, allocations: 55.41 kB / 3.412 GB, free: 220.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/7.051, allocations: 329.2 kB / 3.413 GB, free: 220.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/7.051, allocations: 25.7 kB / 3.413 GB, free: 220.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/7.051, allocations: 231.9 kB / 3.413 GB, free: 220 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/7.051, allocations: 98.5 kB / 3.413 GB, free: 219.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/7.051, allocations: 0 / 3.413 GB, free: 219.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/7.051, allocations: 350.8 kB / 3.413 GB, free: 219.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/7.051, allocations: 104 kB / 3.413 GB, free: 219.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/7.052, allocations: 193.4 kB / 3.414 GB, free: 219.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/7.052, allocations: 152.3 kB / 3.414 GB, free: 219 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/7.052, allocations: 0 / 3.414 GB, free: 219 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004507/7.052, allocations: 349.1 kB / 3.414 GB, free: 218.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/7.052, allocations: 0.5253 MB / 3.415 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/7.052, allocations: 0 / 3.415 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/7.052, allocations: 7.906 kB / 3.415 GB, free: 218.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/7.053, allocations: 71.91 kB / 3.415 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/7.053, allocations: 11.92 kB / 3.415 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/7.053, allocations: 43.81 kB / 3.415 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/7.053, allocations: 16 kB / 3.415 GB, free: 218 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-06/7.053, allocations: 4 kB / 3.415 GB, free: 218 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003698/7.054, allocations: 267.8 kB / 3.415 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/7.054, allocations: 4 kB / 3.415 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/7.054, allocations: 11.84 kB / 3.415 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/7.054, allocations: 76.06 kB / 3.415 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/7.054, allocations: 0 / 3.415 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/7.055, allocations: 47.8 kB / 3.415 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/7.055, allocations: 16 kB / 3.415 GB, free: 217.6 MB / 0.948 GB 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 (37): * Single equations (assignments): 37 * 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.0001063/7.055, allocations: 116.9 kB / 3.415 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/7.055, allocations: 47.44 kB / 3.415 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/7.056, allocations: 362.9 kB / 3.416 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/7.056, allocations: 4 kB / 3.416 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.485e-06/7.056, allocations: 0 / 3.416 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004713/7.056, allocations: 405.2 kB / 3.416 GB, free: 216.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/7.058, allocations: 1.02 MB / 3.417 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/7.058, allocations: 4 kB / 3.417 GB, free: 215.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/7.058, allocations: 63.91 kB / 3.417 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/7.058, allocations: 49.05 kB / 3.417 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/7.058, allocations: 8 kB / 3.417 GB, free: 215.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/7.059, allocations: 1.397 MB / 3.418 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/7.059, allocations: 3.906 kB / 3.418 GB, free: 213.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007936/7.06, allocations: 0.7454 MB / 3.419 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001306/7.061, allocations: 1.342 MB / 3.42 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/7.062, allocations: 160.4 kB / 3.421 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.696e-05/7.062, allocations: 7.938 kB / 3.421 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/7.062, allocations: 47.86 kB / 3.421 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/7.062, allocations: 11.98 kB / 3.421 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/7.062, allocations: 15.98 kB / 3.421 GB, free: 211.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002931/7.063, allocations: 255.2 kB / 3.421 GB, free: 211.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00301/7.066, allocations: 0.6241 MB / 3.422 GB, free: 210.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/7.068, allocations: 1.268 MB / 3.423 GB, free: 209.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008396/7.069, allocations: 450.6 kB / 3.423 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.069, allocations: 0 / 3.423 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/7.069, allocations: 261.5 kB / 3.424 GB, free: 208.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/7.07, allocations: 259.5 kB / 3.424 GB, free: 208.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/7.072, allocations: 0.8235 MB / 3.425 GB, free: 207.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/7.073, allocations: 0.9559 MB / 3.425 GB, free: 206.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/7.073, allocations: 0 / 3.425 GB, free: 206.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)