Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.117/2.117, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001364/0.001364, allocations: 185.3 kB / 487 MB, free: 5.34 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.516/1.516, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009135/0.0009135, allocations: 88.91 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6702/0.6711, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.9601, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.744/5.704, allocations: 1.917 GB / 3.123 GB, free: 385.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/5.704, allocations: 91.86 kB / 3.123 GB, free: 385.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.5444/6.248, allocations: 264.5 MB / 3.381 GB, free: 116 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/6.248, allocations: 9 kB / 3.381 GB, free: 116 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/6.25, allocations: 187.1 kB / 3.381 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/6.251, allocations: 0.5119 MB / 3.382 GB, free: 115.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/6.251, allocations: 15.94 kB / 3.382 GB, free: 115.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/6.251, allocations: 28 kB / 3.382 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006795/6.252, allocations: 381.7 kB / 3.382 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/6.253, allocations: 452.2 kB / 3.382 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/6.253, allocations: 0 / 3.382 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/6.253, allocations: 0 / 3.382 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/6.253, allocations: 17 kB / 3.382 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/6.256, allocations: 1.676 MB / 3.384 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/6.256, allocations: 194 kB / 3.384 GB, free: 112.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/6.256, allocations: 169.3 kB / 3.384 GB, free: 112.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/6.256, allocations: 105.1 kB / 3.385 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/6.256, allocations: 34.55 kB / 3.385 GB, free: 112.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/6.256, allocations: 0 / 3.385 GB, free: 112.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.002037/6.259, allocations: 0.8943 MB / 3.385 GB, free: 111.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/6.259, allocations: 55.41 kB / 3.385 GB, free: 111 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/6.259, allocations: 290 kB / 3.386 GB, free: 110.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/6.259, allocations: 25.7 kB / 3.386 GB, free: 110.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/6.259, allocations: 208 kB / 3.386 GB, free: 110.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/6.259, allocations: 118.3 kB / 3.386 GB, free: 110.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/6.259, allocations: 0 / 3.386 GB, free: 110.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000109/6.259, allocations: 346.8 kB / 3.386 GB, free: 110 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/6.259, allocations: 120 kB / 3.387 GB, free: 109.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/6.26, allocations: 190.5 kB / 3.387 GB, free: 109.7 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.001553/6.261, allocations: 0.5588 MB / 3.387 GB, free: 109.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/6.261, allocations: 0 / 3.387 GB, free: 109.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005641/6.262, allocations: 376.8 kB / 3.388 GB, free: 108.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/6.262, allocations: 15.78 kB / 3.388 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/6.262, allocations: 0 / 3.388 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/6.262, allocations: 4 kB / 3.388 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/6.262, allocations: 71.91 kB / 3.388 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/6.262, allocations: 4 kB / 3.388 GB, free: 108.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/6.263, allocations: 28.05 kB / 3.388 GB, free: 108.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/6.263, allocations: 16 kB / 3.388 GB, free: 108.6 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.0001142/6.263, allocations: 116.8 kB / 3.388 GB, free: 108.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/6.263, allocations: 39.53 kB / 3.388 GB, free: 108.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/6.263, allocations: 48.25 kB / 3.388 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/6.263, allocations: 4 kB / 3.388 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/6.263, allocations: 4 kB / 3.388 GB, free: 108.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003808/6.263, allocations: 392.5 kB / 3.388 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/6.265, allocations: 1.147 MB / 3.389 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/6.265, allocations: 12 kB / 3.389 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/6.265, allocations: 75.89 kB / 3.39 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/6.265, allocations: 7.906 kB / 3.39 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/6.266, allocations: 12 kB / 3.39 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/6.266, allocations: 4 kB / 3.39 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.266, allocations: 7.938 kB / 3.39 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007767/6.266, allocations: 0.8599 MB / 3.39 GB, free: 105.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001133/6.267, allocations: 1.444 MB / 3.392 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/6.268, allocations: 160.6 kB / 3.392 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/6.268, allocations: 7.984 kB / 3.392 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/6.268, allocations: 31.89 kB / 3.392 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/6.268, allocations: 27.91 kB / 3.392 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/6.268, allocations: 24 kB / 3.392 GB, free: 103.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002204/6.269, allocations: 224.6 kB / 3.392 GB, free: 103.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001644/6.27, allocations: 295.9 kB / 3.393 GB, free: 103.2 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.001633/6.272, allocations: 1.095 MB / 3.394 GB, free: 102.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000501/6.272, allocations: 295.7 kB / 3.394 GB, free: 101.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/6.272, allocations: 3.938 kB / 3.394 GB, free: 101.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/6.273, allocations: 152.8 kB / 3.394 GB, free: 101.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/6.274, allocations: 246.2 kB / 3.394 GB, free: 101.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/6.276, allocations: 0.8309 MB / 3.395 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/6.276, allocations: 0.9399 MB / 3.396 GB, free: 99.6 MB / 1.151 GB Notification: Performance of SimCode: time 3.71e-07/6.276, allocations: 0 / 3.396 GB, free: 99.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)