Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.171/2.171, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001291/0.001292, allocations: 181.2 kB / 490.8 MB, free: 1.93 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.733/1.733, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.001078/0.001078, allocations: 94.86 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.8298/0.8309, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/1.183, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.808/6.992, allocations: 1.918 GB / 3.13 GB, free: 419.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/6.992, allocations: 91.94 kB / 3.13 GB, free: 419.2 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.5099/7.502, allocations: 264.5 MB / 3.388 GB, free: 149.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/7.502, allocations: 11.94 kB / 3.388 GB, free: 149.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/7.503, allocations: 187.1 kB / 3.388 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/7.505, allocations: 0.5119 MB / 3.389 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/7.505, allocations: 12 kB / 3.389 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/7.505, allocations: 28 kB / 3.389 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007047/7.506, allocations: 377.8 kB / 3.389 GB, free: 148.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/7.506, allocations: 456.1 kB / 3.39 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/7.506, allocations: 0 / 3.39 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/7.506, allocations: 0 / 3.39 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/7.506, allocations: 13 kB / 3.39 GB, free: 147.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/7.509, allocations: 1.682 MB / 3.391 GB, free: 146 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003667/7.51, allocations: 201.7 kB / 3.391 GB, free: 145.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/7.51, allocations: 168.9 kB / 3.392 GB, free: 145.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/7.51, allocations: 101.1 kB / 3.392 GB, free: 145.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/7.51, allocations: 38.55 kB / 3.392 GB, free: 145.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/7.51, allocations: 0 / 3.392 GB, free: 145.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.002097/7.512, allocations: 0.8881 MB / 3.393 GB, free: 144.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/7.512, allocations: 55.41 kB / 3.393 GB, free: 144.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/7.513, allocations: 290 kB / 3.393 GB, free: 144.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/7.513, allocations: 29.64 kB / 3.393 GB, free: 144.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/7.513, allocations: 212 kB / 3.393 GB, free: 143.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/7.513, allocations: 114.3 kB / 3.393 GB, free: 143.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/7.513, allocations: 0 / 3.393 GB, free: 143.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/7.513, allocations: 350.8 kB / 3.394 GB, free: 143.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/7.513, allocations: 123.9 kB / 3.394 GB, free: 143.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/7.513, allocations: 186.8 kB / 3.394 GB, free: 143.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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/7.515, allocations: 0.5563 MB / 3.394 GB, free: 142.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/7.515, allocations: 8 kB / 3.394 GB, free: 142.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005124/7.515, allocations: 372.7 kB / 3.395 GB, free: 142.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/7.515, allocations: 8 kB / 3.395 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/7.515, allocations: 0 / 3.395 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/7.515, allocations: 7.906 kB / 3.395 GB, free: 142.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/7.516, allocations: 71.91 kB / 3.395 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/7.516, allocations: 4 kB / 3.395 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/7.516, allocations: 24.11 kB / 3.395 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/7.516, allocations: 19.98 kB / 3.395 GB, free: 142.1 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001234/7.516, allocations: 116.8 kB / 3.395 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/7.517, allocations: 39.53 kB / 3.395 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/7.517, allocations: 52.25 kB / 3.395 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/7.517, allocations: 4 kB / 3.395 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/7.517, allocations: 0 / 3.395 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003854/7.517, allocations: 392.5 kB / 3.395 GB, free: 141.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/7.519, allocations: 1.152 MB / 3.397 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/7.519, allocations: 4 kB / 3.397 GB, free: 140.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/7.519, allocations: 79.84 kB / 3.397 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/7.519, allocations: 4 kB / 3.397 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/7.519, allocations: 15.91 kB / 3.397 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/7.519, allocations: 4 kB / 3.397 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/7.519, allocations: 7.938 kB / 3.397 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008045/7.52, allocations: 0.8522 MB / 3.398 GB, free: 139.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001106/7.521, allocations: 1.443 MB / 3.399 GB, free: 137.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/7.521, allocations: 164.6 kB / 3.399 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/7.521, allocations: 12 kB / 3.399 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/7.522, allocations: 23.92 kB / 3.399 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/7.522, allocations: 35.81 kB / 3.399 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/7.522, allocations: 20 kB / 3.399 GB, free: 137.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002288/7.522, allocations: 228.6 kB / 3.399 GB, free: 137 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001642/7.524, allocations: 287.9 kB / 3.4 GB, free: 136.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001519/7.525, allocations: 1.081 MB / 3.401 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005532/7.526, allocations: 299.7 kB / 3.401 GB, free: 135.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/7.526, allocations: 0 / 3.401 GB, free: 135.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/7.526, allocations: 148.9 kB / 3.401 GB, free: 135.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/7.527, allocations: 258.5 kB / 3.401 GB, free: 134.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/7.529, allocations: 0.8309 MB / 3.402 GB, free: 134 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/7.53, allocations: 0.9438 MB / 3.403 GB, free: 133.1 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/7.53, allocations: 0 / 3.403 GB, free: 133.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)