Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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/Complex 4.0.0+maint.om/package.mo): time 0.004003/0.004003, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7225/0.7225, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 81.23 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5374/0.5386, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.739, allocations: 82.31 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.864/5.603, allocations: 1.881 GB / 2.515 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/5.604, allocations: 91.94 kB / 2.515 GB, free: 80.14 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 2.1/7.704, allocations: 0.5771 GB / 3.092 GB, free: 27.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/7.704, allocations: 15.94 kB / 3.092 GB, free: 27.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/7.707, allocations: 446.2 kB / 3.092 GB, free: 26.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/7.71, allocations: 0.8043 MB / 3.093 GB, free: 25.84 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/7.71, allocations: 101.9 kB / 3.093 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/7.711, allocations: 48 kB / 3.093 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001709/7.713, allocations: 0.6756 MB / 3.094 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/7.714, allocations: 0.7941 MB / 3.095 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/7.714, allocations: 3.984 kB / 3.095 GB, free: 24.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/7.714, allocations: 4 kB / 3.095 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/7.714, allocations: 33.91 kB / 3.095 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007291/7.722, allocations: 3.267 MB / 3.098 GB, free: 20.74 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006697/7.723, allocations: 426.2 kB / 3.098 GB, free: 20.31 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/7.723, allocations: 233.8 kB / 3.098 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/7.723, allocations: 103.4 kB / 3.099 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/7.723, allocations: 38.56 kB / 3.099 GB, free: 19.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 4.739e-06/7.723, allocations: 4 kB / 3.099 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.004773/7.728, allocations: 1.459 MB / 3.1 GB, free: 18.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/7.728, allocations: 55.41 kB / 3.1 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/7.729, allocations: 0.5074 MB / 3.101 GB, free: 17.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/7.729, allocations: 29.7 kB / 3.101 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/7.729, allocations: 359 kB / 3.101 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/7.729, allocations: 134 kB / 3.101 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/7.729, allocations: 0 / 3.101 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/7.729, allocations: 382.7 kB / 3.101 GB, free: 16.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/7.73, allocations: 205.2 kB / 3.102 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/7.73, allocations: 338.3 kB / 3.102 GB, free: 16.34 MB / 0.6823 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.002683/7.733, allocations: 1.014 MB / 3.103 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/7.733, allocations: 0 / 3.103 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002273/7.735, allocations: 0.8231 MB / 3.104 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/7.735, allocations: 11.98 kB / 3.104 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/7.735, allocations: 0 / 3.104 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003679/7.736, allocations: 128.9 kB / 3.104 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/7.736, allocations: 135.8 kB / 3.104 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/7.739, allocations: 1.74 MB / 3.106 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/7.74, allocations: 75.91 kB / 3.106 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/7.74, allocations: 27.98 kB / 3.106 GB, free: 12.24 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/7.74, allocations: 120.8 kB / 3.106 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/7.741, allocations: 79 kB / 3.106 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/7.741, allocations: 78.61 kB / 3.106 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/7.741, allocations: 7.938 kB / 3.106 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/7.741, allocations: 4 kB / 3.106 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001871/7.743, allocations: 0.7078 MB / 3.107 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/7.747, allocations: 1.709 MB / 3.108 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/7.747, allocations: 4.406 kB / 3.108 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/7.747, allocations: 119.9 kB / 3.109 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/7.748, allocations: 136.8 kB / 3.109 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/7.748, allocations: 7.984 kB / 3.109 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/7.75, allocations: 1.744 MB / 3.11 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/7.75, allocations: 4 kB / 3.11 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002819/7.753, allocations: 1.282 MB / 3.112 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003471/7.757, allocations: 2.019 MB / 3.114 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/7.757, allocations: 220.1 kB / 3.114 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002537/7.758, allocations: 7.984 kB / 3.114 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/7.759, allocations: 91.83 kB / 3.114 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/7.759, allocations: 27.97 kB / 3.114 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.552e-05/7.759, allocations: 27.98 kB / 3.114 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000659/7.76, allocations: 399.1 kB / 3.114 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002804/7.762, allocations: 0.496 MB / 3.115 GB, free: 2.43 MB / 0.6823 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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002725/7.765, allocations: 1.515 MB / 3.116 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001128/7.766, allocations: 0.5888 MB / 3.117 GB, free: 272 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.766, allocations: 0 / 3.117 GB, free: 272 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.413/8.179, allocations: 344.2 kB / 3.117 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/8.182, allocations: 366.6 kB / 3.118 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/8.187, allocations: 1.418 MB / 3.119 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007656/8.187, allocations: 1.13 MB / 3.12 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.233e-06/8.187, allocations: 0 / 3.12 GB, free: 198.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)