Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001097/0.001097, allocations: 181.2 kB / 487 MB, free: 5.371 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.545/1.545, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.001073/0.001073, allocations: 88.62 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6651/0.6662, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.9797, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.547/5.526, allocations: 1.919 GB / 3.124 GB, free: 409.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/5.527, allocations: 91.31 kB / 3.124 GB, free: 409.1 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.968/7.494, allocations: 0.5806 GB / 3.705 GB, free: 254.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/7.494, allocations: 8 kB / 3.705 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/7.497, allocations: 446.2 kB / 3.705 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/7.499, allocations: 0.7923 MB / 3.706 GB, free: 253.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/7.499, allocations: 105.9 kB / 3.706 GB, free: 253.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/7.5, allocations: 47.91 kB / 3.706 GB, free: 253.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/7.501, allocations: 0.6833 MB / 3.707 GB, free: 252.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/7.502, allocations: 0.798 MB / 3.708 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/7.502, allocations: 3.938 kB / 3.708 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/7.502, allocations: 7.938 kB / 3.708 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-05/7.502, allocations: 30 kB / 3.708 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/7.508, allocations: 3.325 MB / 3.711 GB, free: 248.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/7.508, allocations: 298.7 kB / 3.711 GB, free: 248.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/7.509, allocations: 257.9 kB / 3.711 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/7.509, allocations: 97.33 kB / 3.712 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/7.509, allocations: 48.47 kB / 3.712 GB, free: 247.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.465e-06/7.509, allocations: 4 kB / 3.712 GB, free: 247.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.002958/7.512, allocations: 1.288 MB / 3.713 GB, free: 246.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/7.512, allocations: 59.34 kB / 3.713 GB, free: 246.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/7.512, allocations: 0.5152 MB / 3.713 GB, free: 245.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/7.513, allocations: 25.7 kB / 3.713 GB, free: 245.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/7.513, allocations: 370.8 kB / 3.714 GB, free: 245.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/7.513, allocations: 142 kB / 3.714 GB, free: 245.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/7.513, allocations: 0 / 3.714 GB, free: 245.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001329/7.513, allocations: 378.7 kB / 3.714 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/7.513, allocations: 217.2 kB / 3.714 GB, free: 244.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/7.514, allocations: 348.2 kB / 3.715 GB, free: 244.3 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/7.516, allocations: 1.042 MB / 3.716 GB, free: 243.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/7.516, allocations: 0 / 3.716 GB, free: 243.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009684/7.517, allocations: 0.6464 MB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/7.517, allocations: 4 kB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/7.517, allocations: 4 kB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/7.517, allocations: 4 kB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/7.518, allocations: 168.2 kB / 3.717 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/7.518, allocations: 8 kB / 3.717 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/7.519, allocations: 87.77 kB / 3.717 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-05/7.519, allocations: 20 kB / 3.717 GB, free: 242.3 MB / 1.151 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.000187/7.52, allocations: 132.8 kB / 3.717 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/7.52, allocations: 75.06 kB / 3.717 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/7.52, allocations: 74.62 kB / 3.717 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/7.52, allocations: 4 kB / 3.717 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/7.52, allocations: 0 / 3.717 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006726/7.521, allocations: 0.5351 MB / 3.718 GB, free: 241.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/7.523, allocations: 1.517 MB / 3.719 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/7.523, allocations: 4 kB / 3.719 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/7.524, allocations: 140.2 kB / 3.719 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/7.524, allocations: 4 kB / 3.719 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/7.524, allocations: 11.94 kB / 3.719 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/7.524, allocations: 11.84 kB / 3.719 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/7.524, allocations: 4 kB / 3.719 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/7.525, allocations: 1.096 MB / 3.72 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001895/7.527, allocations: 1.833 MB / 3.722 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/7.527, allocations: 212.2 kB / 3.722 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/7.527, allocations: 11.91 kB / 3.722 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009836/7.528, allocations: 83.98 kB / 3.722 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/7.529, allocations: 39.8 kB / 3.722 GB, free: 236.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/7.529, allocations: 23.98 kB / 3.722 GB, free: 236.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004926/7.529, allocations: 395.2 kB / 3.723 GB, free: 235.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002155/7.531, allocations: 487.4 kB / 3.723 GB, free: 235.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.001999/7.533, allocations: 1.525 MB / 3.725 GB, free: 233.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009532/7.534, allocations: 0.4935 MB / 3.725 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/7.534, allocations: 0 / 3.725 GB, free: 233.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/7.535, allocations: 240.9 kB / 3.725 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/7.537, allocations: 384.6 kB / 3.726 GB, free: 232.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/7.541, allocations: 1.406 MB / 3.727 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/7.542, allocations: 1.145 MB / 3.728 GB, free: 230.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.302e-06/7.542, allocations: 0 / 3.728 GB, free: 230.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)