Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.586/1.586, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001461/0.00146, allocations: 173.3 kB / 366.3 MB, free: 2.02 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.752/1.752, allocations: 205.1 MB / 0.6256 GB, free: 5.875 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.0009127/0.0009126, allocations: 95.72 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2786/0.2796, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.9803, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/5.317, allocations: 2.074 GB / 3.047 GB, free: 10.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/5.317, allocations: 83.95 kB / 3.047 GB, free: 10.52 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 2.321/7.638, allocations: 0.571 GB / 3.618 GB, free: 171.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/7.638, allocations: 19.94 kB / 3.618 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/7.641, allocations: 450.1 kB / 3.618 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/7.643, allocations: 0.7764 MB / 3.619 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/7.643, allocations: 105.9 kB / 3.619 GB, free: 170.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/7.643, allocations: 47.98 kB / 3.619 GB, free: 170.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001301/7.645, allocations: 0.6795 MB / 3.62 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/7.646, allocations: 0.7941 MB / 3.621 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/7.646, allocations: 0 / 3.621 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/7.646, allocations: 4 kB / 3.621 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/7.646, allocations: 34 kB / 3.621 GB, free: 169 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/7.651, allocations: 3.256 MB / 3.624 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/7.652, allocations: 459.7 kB / 3.624 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/7.652, allocations: 244.2 kB / 3.625 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/7.652, allocations: 97.42 kB / 3.625 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/7.652, allocations: 44.53 kB / 3.625 GB, free: 164.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/7.652, allocations: 4 kB / 3.625 GB, free: 164.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.003273/7.656, allocations: 1.287 MB / 3.626 GB, free: 163.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/7.656, allocations: 55.41 kB / 3.626 GB, free: 163.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/7.656, allocations: 0.5074 MB / 3.627 GB, free: 162.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/7.656, allocations: 29.7 kB / 3.627 GB, free: 162.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/7.657, allocations: 366.8 kB / 3.627 GB, free: 162.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/7.657, allocations: 141.9 kB / 3.627 GB, free: 162.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/7.657, allocations: 0 / 3.627 GB, free: 162.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001139/7.657, allocations: 378.7 kB / 3.627 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/7.657, allocations: 217.2 kB / 3.628 GB, free: 161.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/7.658, allocations: 348.1 kB / 3.628 GB, free: 161.3 MB / 0.948 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.002525/7.66, allocations: 1.032 MB / 3.629 GB, free: 160.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/7.66, allocations: 0 / 3.629 GB, free: 160.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009757/7.661, allocations: 0.6426 MB / 3.63 GB, free: 159.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/7.661, allocations: 4 kB / 3.63 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/7.661, allocations: 4 kB / 3.63 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/7.661, allocations: 4 kB / 3.63 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/7.662, allocations: 164.2 kB / 3.63 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/7.662, allocations: 11.94 kB / 3.63 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/7.663, allocations: 91.75 kB / 3.63 GB, free: 159.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/7.663, allocations: 24 kB / 3.63 GB, free: 159.3 MB / 0.948 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.000213/7.663, allocations: 116.8 kB / 3.63 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/7.664, allocations: 75.16 kB / 3.63 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/7.664, allocations: 78.45 kB / 3.63 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/7.664, allocations: 4 kB / 3.63 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/7.664, allocations: 0 / 3.63 GB, free: 159 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007584/7.665, allocations: 0.5352 MB / 3.631 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/7.667, allocations: 1.532 MB / 3.632 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/7.667, allocations: 4 kB / 3.632 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/7.668, allocations: 136.2 kB / 3.632 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/7.668, allocations: 8 kB / 3.632 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/7.668, allocations: 8 kB / 3.632 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/7.668, allocations: 4 kB / 3.632 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/7.668, allocations: 7.938 kB / 3.632 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001358/7.67, allocations: 1.131 MB / 3.634 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001815/7.672, allocations: 1.872 MB / 3.635 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/7.672, allocations: 216.2 kB / 3.636 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/7.672, allocations: 4 kB / 3.636 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008938/7.673, allocations: 83.89 kB / 3.636 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/7.673, allocations: 27.97 kB / 3.636 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/7.673, allocations: 27.98 kB / 3.636 GB, free: 153 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004496/7.674, allocations: 395.1 kB / 3.636 GB, free: 152.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001951/7.676, allocations: 475.9 kB / 3.637 GB, free: 152.2 MB / 0.948 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.001811/7.677, allocations: 1.52 MB / 3.638 GB, free: 150.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008015/7.678, allocations: 0.4976 MB / 3.638 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/7.678, allocations: 4 kB / 3.638 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003013/7.678, allocations: 235.7 kB / 3.639 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/7.68, allocations: 369.7 kB / 3.639 GB, free: 149.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/7.684, allocations: 1.407 MB / 3.64 GB, free: 148 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/7.685, allocations: 1.138 MB / 3.642 GB, free: 146.8 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/7.685, allocations: 0 / 3.642 GB, free: 146.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)