Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 184.1 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008531/0.0008529, allocations: 93.7 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3753/0.3762, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.5541, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.844/4.398, allocations: 2.192 GB / 3.077 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/4.398, allocations: 83.95 kB / 3.077 GB, free: 208 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 1.635/6.033, allocations: 0.556 GB / 3.633 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/6.033, allocations: 13.72 kB / 3.633 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/6.036, allocations: 446.3 kB / 3.634 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/6.037, allocations: 0.7925 MB / 3.634 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000315/6.037, allocations: 111.9 kB / 3.634 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/6.037, allocations: 45.88 kB / 3.634 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001028/6.038, allocations: 0.672 MB / 3.635 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/6.04, allocations: 0.8097 MB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/6.04, allocations: 4.562 kB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/6.04, allocations: 0 / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/6.04, allocations: 34.41 kB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/6.044, allocations: 3.272 MB / 3.639 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/6.045, allocations: 423.6 kB / 3.64 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/6.045, allocations: 239.2 kB / 3.64 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/6.046, allocations: 96.06 kB / 3.64 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/6.046, allocations: 51.78 kB / 3.64 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 3.486e-06/6.046, allocations: 0 / 3.64 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.003667/6.049, allocations: 1.456 MB / 3.641 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/6.049, allocations: 55.34 kB / 3.641 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/6.05, allocations: 0.5141 MB / 3.642 GB, free: 204 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/6.05, allocations: 29.64 kB / 3.642 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/6.05, allocations: 360.1 kB / 3.642 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/6.05, allocations: 145.4 kB / 3.642 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/6.05, allocations: 0 / 3.642 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.837e-05/6.05, allocations: 377.4 kB / 3.643 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/6.051, allocations: 203.8 kB / 3.643 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/6.051, allocations: 334.3 kB / 3.643 GB, free: 203.2 MB / 0.8698 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.002257/6.053, allocations: 0.9685 MB / 3.644 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/6.053, allocations: 3.938 kB / 3.644 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002009/6.055, allocations: 0.8119 MB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/6.055, allocations: 9.828 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/6.055, allocations: 1.875 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/6.056, allocations: 137.8 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/6.056, allocations: 137.7 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/6.058, allocations: 1.728 MB / 3.647 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008882/6.059, allocations: 80.28 kB / 3.647 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/6.059, allocations: 26.3 kB / 3.647 GB, free: 201.8 MB / 0.8698 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: 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 (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.0001988/6.06, allocations: 124.1 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/6.06, allocations: 79.97 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/6.06, allocations: 80.67 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/6.06, allocations: 9 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/6.06, allocations: 3.75 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001725/6.062, allocations: 0.704 MB / 3.648 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/6.065, allocations: 1.709 MB / 3.65 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/6.065, allocations: 6.531 kB / 3.65 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/6.065, allocations: 126.4 kB / 3.65 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/6.066, allocations: 132 kB / 3.65 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/6.066, allocations: 9.5 kB / 3.65 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/6.067, allocations: 1.738 MB / 3.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/6.067, allocations: 0 / 3.652 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002182/6.07, allocations: 1.283 MB / 3.653 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002668/6.072, allocations: 2.019 MB / 3.655 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/6.073, allocations: 223.9 kB / 3.655 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/6.073, allocations: 11.62 kB / 3.655 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/6.074, allocations: 88.47 kB / 3.655 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/6.074, allocations: 34.59 kB / 3.655 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/6.074, allocations: 32.23 kB / 3.655 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004139/6.074, allocations: 402.5 kB / 3.656 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001898/6.076, allocations: 498.8 kB / 3.656 GB, free: 198.3 MB / 0.8698 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.001762/6.078, allocations: 1.5 MB / 3.658 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001038/6.079, allocations: 0.5872 MB / 3.658 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/6.079, allocations: 0 / 3.658 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004558/6.08, allocations: 342.8 kB / 3.658 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/6.081, allocations: 380.1 kB / 3.659 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/6.085, allocations: 1.435 MB / 3.66 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006216/6.086, allocations: 1.137 MB / 3.661 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/6.086, allocations: 3.281 kB / 3.661 GB, free: 196.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)