Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.396/1.396, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001243/0.001243, allocations: 193.3 kB / 361.1 MB, free: 7.078 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.256/1.256, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008314/0.0008311, allocations: 90.88 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2296/0.2305, allocations: 121.4 MB / 0.8511 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.7777, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.216/3.994, allocations: 2.073 GB / 3.037 GB, free: 72.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/3.994, allocations: 86.66 kB / 3.037 GB, free: 72.58 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 1.757/5.751, allocations: 0.5696 GB / 3.606 GB, free: 223.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/5.751, allocations: 9.094 kB / 3.606 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/5.754, allocations: 460.6 kB / 3.607 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/5.756, allocations: 0.7796 MB / 3.608 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/5.757, allocations: 108.6 kB / 3.608 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/5.757, allocations: 45.88 kB / 3.608 GB, free: 223.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001342/5.758, allocations: 0.6747 MB / 3.608 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/5.76, allocations: 0.7967 MB / 3.609 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/5.76, allocations: 0 / 3.609 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/5.76, allocations: 1.031 kB / 3.609 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/5.76, allocations: 32.69 kB / 3.609 GB, free: 222.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/5.765, allocations: 3.266 MB / 3.612 GB, free: 220.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/5.766, allocations: 420.6 kB / 3.613 GB, free: 220.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/5.766, allocations: 238.8 kB / 3.613 GB, free: 220.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/5.766, allocations: 105.1 kB / 3.613 GB, free: 220.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/5.766, allocations: 49.2 kB / 3.613 GB, free: 220.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/5.766, allocations: 0 / 3.613 GB, free: 220.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=41): time 0.003939/5.77, allocations: 1.458 MB / 3.615 GB, free: 219.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.925e-05/5.77, allocations: 60.59 kB / 3.615 GB, free: 219.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/5.771, allocations: 0.5012 MB / 3.615 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/5.771, allocations: 25.7 kB / 3.615 GB, free: 219.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/5.771, allocations: 356.5 kB / 3.616 GB, free: 219 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/5.771, allocations: 139.1 kB / 3.616 GB, free: 218.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/5.771, allocations: 0 / 3.616 GB, free: 218.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/5.771, allocations: 373.6 kB / 3.616 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/5.772, allocations: 215.1 kB / 3.616 GB, free: 218.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/5.772, allocations: 323 kB / 3.617 GB, free: 218.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.002452/5.774, allocations: 1.012 MB / 3.618 GB, free: 217.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/5.774, allocations: 0 / 3.618 GB, free: 217.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002071/5.777, allocations: 0.8146 MB / 3.618 GB, free: 217.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/5.777, allocations: 7.328 kB / 3.618 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/5.777, allocations: 2.781 kB / 3.618 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/5.777, allocations: 131.2 kB / 3.618 GB, free: 217.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/5.778, allocations: 145.2 kB / 3.619 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/5.78, allocations: 1.741 MB / 3.62 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009777/5.781, allocations: 80.53 kB / 3.62 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/5.781, allocations: 22.7 kB / 3.62 GB, free: 216.2 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.0001833/5.781, allocations: 119.8 kB / 3.62 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/5.781, allocations: 70.19 kB / 3.621 GB, free: 216.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/5.781, allocations: 83.5 kB / 3.621 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/5.781, allocations: 5.438 kB / 3.621 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/5.781, allocations: 2.562 kB / 3.621 GB, free: 216 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/5.783, allocations: 0.7134 MB / 3.621 GB, free: 215.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/5.787, allocations: 1.704 MB / 3.623 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.787, allocations: 2.562 kB / 3.623 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/5.787, allocations: 125.9 kB / 3.623 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/5.787, allocations: 134.3 kB / 3.623 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/5.788, allocations: 9 kB / 3.623 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/5.79, allocations: 1.744 MB / 3.625 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/5.79, allocations: 2.906 kB / 3.625 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002291/5.792, allocations: 1.289 MB / 3.626 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002949/5.795, allocations: 2.014 MB / 3.628 GB, free: 211.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/5.795, allocations: 219.7 kB / 3.628 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/5.795, allocations: 6.125 kB / 3.628 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009516/5.796, allocations: 83.47 kB / 3.628 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/5.796, allocations: 32.02 kB / 3.629 GB, free: 211.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/5.797, allocations: 25.75 kB / 3.629 GB, free: 211.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004587/5.797, allocations: 402.5 kB / 3.629 GB, free: 211 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002279/5.799, allocations: 0.4991 MB / 3.629 GB, free: 210.8 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.002002/5.801, allocations: 1.506 MB / 3.631 GB, free: 210.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009525/5.802, allocations: 0.5842 MB / 3.631 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/5.802, allocations: 3 kB / 3.631 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/5.803, allocations: 345.6 kB / 3.632 GB, free: 209.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/5.804, allocations: 381.2 kB / 3.632 GB, free: 209.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003967/5.808, allocations: 1.419 MB / 3.634 GB, free: 209.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008939/5.809, allocations: 1.129 MB / 3.635 GB, free: 208.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/5.809, allocations: 0 / 3.635 GB, free: 208.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)