Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, 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.001307/0.001307, allocations: 177.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.73/1.73, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008896/0.0008898, allocations: 85.7 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3168/0.3177, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/1.089, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/5.509, allocations: 2.074 GB / 3.047 GB, free: 1.285 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/5.509, allocations: 87.89 kB / 3.047 GB, free: 1.199 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 2.279/7.788, allocations: 0.5696 GB / 3.616 GB, free: 166.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/7.788, allocations: 8 kB / 3.616 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/7.791, allocations: 454.1 kB / 3.617 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/7.793, allocations: 0.7849 MB / 3.617 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/7.794, allocations: 109.9 kB / 3.618 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002364/7.794, allocations: 44 kB / 3.618 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001408/7.795, allocations: 0.6716 MB / 3.618 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/7.797, allocations: 0.7951 MB / 3.619 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/7.797, allocations: 0 / 3.619 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/7.797, allocations: 4 kB / 3.619 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/7.797, allocations: 30 kB / 3.619 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006177/7.803, allocations: 3.264 MB / 3.622 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/7.804, allocations: 407.7 kB / 3.623 GB, free: 159.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/7.804, allocations: 237.8 kB / 3.623 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002267/7.805, allocations: 113.3 kB / 3.623 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/7.805, allocations: 40.53 kB / 3.623 GB, free: 159.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.576e-06/7.805, allocations: 4 kB / 3.623 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.004459/7.809, allocations: 1.457 MB / 3.624 GB, free: 157.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/7.809, allocations: 59.39 kB / 3.625 GB, free: 157.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006802/7.81, allocations: 0.4996 MB / 3.625 GB, free: 157 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/7.81, allocations: 29.7 kB / 3.625 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/7.81, allocations: 354.9 kB / 3.625 GB, free: 156.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/7.81, allocations: 138 kB / 3.625 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/7.81, allocations: 0 / 3.625 GB, free: 156.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001037/7.81, allocations: 382.8 kB / 3.626 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/7.811, allocations: 205.2 kB / 3.626 GB, free: 155.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/7.811, allocations: 330.4 kB / 3.626 GB, free: 155.5 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.002574/7.814, allocations: 1.01 MB / 3.627 GB, free: 154.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/7.814, allocations: 3.938 kB / 3.627 GB, free: 154.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00221/7.816, allocations: 0.8231 MB / 3.628 GB, free: 153.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/7.816, allocations: 4 kB / 3.628 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/7.816, allocations: 7.906 kB / 3.628 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003743/7.816, allocations: 132.8 kB / 3.628 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/7.817, allocations: 135.9 kB / 3.628 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/7.819, allocations: 1.736 MB / 3.63 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/7.82, allocations: 79.92 kB / 3.63 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.729e-05/7.82, allocations: 31.97 kB / 3.63 GB, free: 151.4 MB / 0.948 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.0002442/7.821, allocations: 120.7 kB / 3.63 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/7.821, allocations: 75.16 kB / 3.63 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/7.821, allocations: 70.55 kB / 3.63 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/7.821, allocations: 8 kB / 3.63 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.821, allocations: 4 kB / 3.63 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/7.823, allocations: 0.7154 MB / 3.631 GB, free: 150.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003698/7.827, allocations: 1.696 MB / 3.633 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/7.827, allocations: 4.406 kB / 3.633 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/7.827, allocations: 123.9 kB / 3.633 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/7.828, allocations: 137 kB / 3.633 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.763e-05/7.828, allocations: 15.83 kB / 3.633 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/7.83, allocations: 1.728 MB / 3.635 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/7.83, allocations: 4 kB / 3.635 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002472/7.832, allocations: 1.296 MB / 3.636 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003195/7.836, allocations: 2.025 MB / 3.638 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000671/7.836, allocations: 216.2 kB / 3.638 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/7.837, allocations: 7.938 kB / 3.638 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/7.838, allocations: 83.98 kB / 3.638 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/7.838, allocations: 27.88 kB / 3.638 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/7.838, allocations: 32.16 kB / 3.638 GB, free: 142.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005077/7.838, allocations: 391.2 kB / 3.639 GB, free: 142.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002465/7.841, allocations: 0.496 MB / 3.639 GB, free: 141.6 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 (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.002368/7.843, allocations: 1.523 MB / 3.641 GB, free: 140 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001185/7.844, allocations: 0.5773 MB / 3.641 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/7.844, allocations: 4 kB / 3.641 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/7.845, allocations: 342.9 kB / 3.642 GB, free: 139.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/7.847, allocations: 388.9 kB / 3.642 GB, free: 138.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/7.851, allocations: 1.411 MB / 3.643 GB, free: 137.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/7.851, allocations: 1.129 MB / 3.644 GB, free: 136.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/7.851, allocations: 0 / 3.644 GB, free: 136.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)