Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7478/0.7478, allocations: 141.8 MB / 149.1 MB, free: 4.273 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.1 kB / 181.9 MB, free: 15.95 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.3 MB / 436 MB, free: 9.16 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 97.73 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001953/0.001953, allocations: 278.1 kB / 0.5884 GB, free: 12.14 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.046e-06/8.086e-06, allocations: 0 / 0.6759 GB, free: 2.492 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.499, allocations: 82.76 MB / 0.7567 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.188/4.688, allocations: 1.879 GB / 2.636 GB, free: 171.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/4.688, allocations: 83.95 kB / 2.636 GB, free: 171.1 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.193/6.881, allocations: 0.5772 GB / 3.213 GB, free: 122.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001745/6.881, allocations: 31.83 kB / 3.213 GB, free: 122.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004296/6.885, allocations: 1.21 MB / 3.214 GB, free: 121.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/6.886, allocations: 8.031 kB / 3.214 GB, free: 121.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/6.889, allocations: 454 kB / 3.215 GB, free: 121.2 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/6.891, allocations: 0.7843 MB / 3.215 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/6.892, allocations: 108.9 kB / 3.215 GB, free: 120.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/6.892, allocations: 44 kB / 3.216 GB, free: 120.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/6.894, allocations: 0.6867 MB / 3.216 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/6.895, allocations: 0.7941 MB / 3.217 GB, free: 118.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/6.895, allocations: 4 kB / 3.217 GB, free: 118.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/6.896, allocations: 2.906 kB / 3.217 GB, free: 118.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/6.896, allocations: 30 kB / 3.217 GB, free: 118.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006873/6.903, allocations: 3.261 MB / 3.22 GB, free: 115.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008902/6.903, allocations: 462.7 kB / 3.221 GB, free: 114.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/6.904, allocations: 243.7 kB / 3.221 GB, free: 114.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/6.904, allocations: 102.4 kB / 3.221 GB, free: 114.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/6.904, allocations: 53.42 kB / 3.221 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 3.566e-06/6.904, allocations: 0 / 3.221 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=41): time 0.003826/6.908, allocations: 1.285 MB / 3.222 GB, free: 113.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/6.908, allocations: 55.41 kB / 3.222 GB, free: 113.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/6.909, allocations: 0.5035 MB / 3.223 GB, free: 112.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/6.909, allocations: 32.8 kB / 3.223 GB, free: 112.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/6.909, allocations: 358.9 kB / 3.223 GB, free: 112.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/6.909, allocations: 134 kB / 3.223 GB, free: 112.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/6.909, allocations: 0 / 3.223 GB, free: 112.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001376/6.91, allocations: 378.8 kB / 3.224 GB, free: 111.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/6.91, allocations: 213.2 kB / 3.224 GB, free: 111.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/6.91, allocations: 358.3 kB / 3.224 GB, free: 111.1 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/6.913, allocations: 1.032 MB / 3.225 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/6.913, allocations: 0 / 3.225 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001106/6.914, allocations: 0.6373 MB / 3.226 GB, free: 109.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/6.914, allocations: 9.25 kB / 3.226 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/6.914, allocations: 3.906 kB / 3.226 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/6.914, allocations: 8 kB / 3.226 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/6.915, allocations: 163 kB / 3.226 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/6.915, allocations: 15.92 kB / 3.226 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/6.916, allocations: 85.12 kB / 3.226 GB, free: 109.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/6.916, allocations: 28 kB / 3.226 GB, free: 109.2 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002092/6.916, allocations: 123.2 kB / 3.226 GB, free: 109 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/6.917, allocations: 71.16 kB / 3.226 GB, free: 109 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/6.917, allocations: 77.42 kB / 3.226 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/6.917, allocations: 7.906 kB / 3.226 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/6.917, allocations: 0 / 3.226 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007465/6.918, allocations: 0.5309 MB / 3.227 GB, free: 108.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/6.92, allocations: 1.519 MB / 3.228 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/6.92, allocations: 3.938 kB / 3.228 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/6.921, allocations: 141.7 kB / 3.229 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/6.921, allocations: 4 kB / 3.229 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.524e-05/6.921, allocations: 8.688 kB / 3.229 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/6.921, allocations: 12.7 kB / 3.229 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/6.921, allocations: 4 kB / 3.229 GB, free: 106.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001396/6.923, allocations: 1.119 MB / 3.23 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/6.923, allocations: 212.2 kB / 3.23 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/6.923, allocations: 8.609 kB / 3.23 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/6.924, allocations: 84.69 kB / 3.23 GB, free: 105 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/6.925, allocations: 35.95 kB / 3.23 GB, free: 105 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/6.925, allocations: 23.98 kB / 3.23 GB, free: 105 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004945/6.925, allocations: 395.2 kB / 3.23 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001346/6.926, allocations: 325.5 kB / 3.231 GB, free: 104.3 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 41 * 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.002315/6.929, allocations: 1.523 MB / 3.232 GB, free: 102.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008444/6.93, allocations: 0.5009 MB / 3.233 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.93, allocations: 3.938 kB / 3.233 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/6.93, allocations: 239.7 kB / 3.233 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/6.932, allocations: 385 kB / 3.233 GB, free: 101.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/6.936, allocations: 1.395 MB / 3.235 GB, free: 100.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000849/6.937, allocations: 1.125 MB / 3.236 GB, free: 99.19 MB / 0.6982 GB Notification: Performance of SimCode: time 1.193e-06/6.937, allocations: 0 / 3.236 GB, free: 99.19 MB / 0.6982 GB Notification: Performance of Templates: time 0.035/6.972, allocations: 21.45 MB / 3.257 GB, free: 78.02 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)