Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.397/1.397, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001182/0.001182, allocations: 181.2 kB / 361.1 MB, free: 7.109 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.197/1.197, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0008031/0.0008031, allocations: 84.58 kB / 0.7325 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2168/0.2177, allocations: 121.4 MB / 0.8511 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.7159, allocations: 115.3 MB / 0.9638 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.116/3.832, allocations: 2.075 GB / 3.039 GB, free: 60.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/3.832, allocations: 91.94 kB / 3.039 GB, free: 60.09 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.04/4.873, allocations: 367.6 MB / 3.398 GB, free: 75.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/4.873, allocations: 8 kB / 3.398 GB, free: 75.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/4.874, allocations: 178.9 kB / 3.398 GB, free: 75.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/4.875, allocations: 0.5561 MB / 3.399 GB, free: 74.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/4.875, allocations: 12 kB / 3.399 GB, free: 74.74 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/4.875, allocations: 28 kB / 3.399 GB, free: 74.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005821/4.876, allocations: 349.9 kB / 3.399 GB, free: 74.37 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/4.877, allocations: 368.5 kB / 3.4 GB, free: 74.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/4.877, allocations: 3.938 kB / 3.4 GB, free: 74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/4.877, allocations: 4 kB / 3.4 GB, free: 74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/4.877, allocations: 20.98 kB / 3.4 GB, free: 73.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/4.879, allocations: 1.961 MB / 3.401 GB, free: 71.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/4.879, allocations: 181.2 kB / 3.402 GB, free: 71.69 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/4.879, allocations: 160.8 kB / 3.402 GB, free: 71.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/4.88, allocations: 198.7 kB / 3.402 GB, free: 71.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/4.88, allocations: 38.47 kB / 3.402 GB, free: 71.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/4.88, allocations: 0 / 3.402 GB, free: 71.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.0009548/4.881, allocations: 385.8 kB / 3.402 GB, free: 70.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/4.881, allocations: 59.41 kB / 3.402 GB, free: 70.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/4.881, allocations: 329.1 kB / 3.403 GB, free: 70.46 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/4.881, allocations: 25.7 kB / 3.403 GB, free: 70.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/4.881, allocations: 224 kB / 3.403 GB, free: 70.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/4.881, allocations: 98.5 kB / 3.403 GB, free: 70.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/4.881, allocations: 4 kB / 3.403 GB, free: 70.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.986e-05/4.881, allocations: 354.8 kB / 3.403 GB, free: 69.75 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/4.882, allocations: 104 kB / 3.404 GB, free: 69.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/4.882, allocations: 193.2 kB / 3.404 GB, free: 69.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/4.882, allocations: 144.4 kB / 3.404 GB, free: 69.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/4.882, allocations: 4 kB / 3.404 GB, free: 69.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004973/4.883, allocations: 344.9 kB / 3.404 GB, free: 68.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/4.883, allocations: 0.5255 MB / 3.405 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/4.883, allocations: 0 / 3.405 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/4.883, allocations: 4 kB / 3.405 GB, free: 68.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/4.883, allocations: 75.89 kB / 3.405 GB, free: 68.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/4.883, allocations: 11.88 kB / 3.405 GB, free: 68.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/4.884, allocations: 47.72 kB / 3.405 GB, free: 68.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/4.884, allocations: 19.98 kB / 3.405 GB, free: 68.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/4.884, allocations: 8 kB / 3.405 GB, free: 68.21 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003888/4.884, allocations: 263.8 kB / 3.405 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/4.884, allocations: 0 / 3.405 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/4.884, allocations: 4 kB / 3.405 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/4.884, allocations: 71.91 kB / 3.405 GB, free: 67.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/4.884, allocations: 11.92 kB / 3.405 GB, free: 67.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/4.885, allocations: 51.81 kB / 3.405 GB, free: 67.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/4.885, allocations: 19.94 kB / 3.405 GB, free: 67.8 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 9.264e-05/4.885, allocations: 108.9 kB / 3.405 GB, free: 67.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/4.885, allocations: 47.44 kB / 3.405 GB, free: 67.64 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/4.886, allocations: 367.6 kB / 3.406 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/4.886, allocations: 4 kB / 3.406 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/4.886, allocations: 0 / 3.406 GB, free: 67.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004381/4.886, allocations: 413.4 kB / 3.406 GB, free: 66.83 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/4.887, allocations: 1.014 MB / 3.407 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/4.888, allocations: 0 / 3.407 GB, free: 65.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/4.888, allocations: 67.81 kB / 3.407 GB, free: 65.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/4.888, allocations: 53.03 kB / 3.407 GB, free: 65.62 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/4.888, allocations: 4 kB / 3.407 GB, free: 65.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009394/4.889, allocations: 1.389 MB / 3.409 GB, free: 64.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/4.889, allocations: 8.031 kB / 3.409 GB, free: 64.11 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000725/4.89, allocations: 0.7368 MB / 3.409 GB, free: 63.29 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0011/4.891, allocations: 1.355 MB / 3.411 GB, free: 61.85 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/4.891, allocations: 156.5 kB / 3.411 GB, free: 61.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/4.891, allocations: 7.984 kB / 3.411 GB, free: 61.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/4.892, allocations: 43.88 kB / 3.411 GB, free: 61.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/4.892, allocations: 15.97 kB / 3.411 GB, free: 61.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/4.892, allocations: 16 kB / 3.411 GB, free: 61.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002335/4.892, allocations: 259.1 kB / 3.411 GB, free: 61.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002814/4.895, allocations: 0.6241 MB / 3.412 GB, free: 60.71 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.00197/4.897, allocations: 1.269 MB / 3.413 GB, free: 59.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006159/4.897, allocations: 450.6 kB / 3.413 GB, free: 58.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/4.897, allocations: 3.938 kB / 3.413 GB, free: 58.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000334/4.898, allocations: 254.8 kB / 3.414 GB, free: 58.72 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/4.899, allocations: 273.4 kB / 3.414 GB, free: 58.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/4.9, allocations: 0.8043 MB / 3.415 GB, free: 57.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/4.901, allocations: 0.9597 MB / 3.416 GB, free: 56.62 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/4.901, allocations: 0 / 3.416 GB, free: 56.62 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)