Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.083/2.083, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001191/0.001191, allocations: 176.7 kB / 487 MB, free: 5.367 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.577/1.577, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.00102/0.00102, allocations: 102.9 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7997/0.8008, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/1.121, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.597/5.718, allocations: 1.918 GB / 3.124 GB, free: 409.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/5.719, allocations: 87.95 kB / 3.124 GB, free: 409.2 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 1.911/7.63, allocations: 0.5777 GB / 3.702 GB, free: 257.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/7.63, allocations: 9 kB / 3.702 GB, free: 257.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/7.633, allocations: 446.2 kB / 3.702 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/7.635, allocations: 0.7966 MB / 3.703 GB, free: 256.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/7.636, allocations: 105.9 kB / 3.703 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/7.636, allocations: 47.94 kB / 3.703 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0017/7.638, allocations: 0.6795 MB / 3.704 GB, free: 255.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/7.639, allocations: 0.8018 MB / 3.704 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/7.639, allocations: 0 / 3.704 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/7.64, allocations: 0 / 3.704 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/7.64, allocations: 26 kB / 3.704 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006058/7.646, allocations: 3.332 MB / 3.708 GB, free: 251.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/7.646, allocations: 407.2 kB / 3.708 GB, free: 251 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/7.647, allocations: 248 kB / 3.708 GB, free: 250.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/7.647, allocations: 105.4 kB / 3.708 GB, free: 250.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/7.647, allocations: 48.38 kB / 3.708 GB, free: 250.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.294e-06/7.647, allocations: 0 / 3.708 GB, free: 250.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.00457/7.652, allocations: 1.469 MB / 3.71 GB, free: 249.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/7.652, allocations: 59.41 kB / 3.71 GB, free: 249 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/7.652, allocations: 0.5035 MB / 3.71 GB, free: 248.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.158e-05/7.652, allocations: 25.7 kB / 3.71 GB, free: 248.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/7.653, allocations: 359 kB / 3.711 GB, free: 248.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/7.653, allocations: 142 kB / 3.711 GB, free: 248 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/7.653, allocations: 0 / 3.711 GB, free: 248 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001086/7.653, allocations: 374.7 kB / 3.711 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/7.653, allocations: 205.2 kB / 3.711 GB, free: 247.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/7.654, allocations: 320.8 kB / 3.712 GB, free: 247 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.002742/7.656, allocations: 1.027 MB / 3.713 GB, free: 246 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/7.656, allocations: 0 / 3.713 GB, free: 246 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002292/7.659, allocations: 0.8193 MB / 3.714 GB, free: 245.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/7.659, allocations: 4 kB / 3.714 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/7.659, allocations: 4.094 kB / 3.714 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/7.659, allocations: 132.8 kB / 3.714 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/7.66, allocations: 143.8 kB / 3.714 GB, free: 244.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/7.662, allocations: 1.74 MB / 3.716 GB, free: 243 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/7.663, allocations: 79.84 kB / 3.716 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/7.663, allocations: 24.05 kB / 3.716 GB, free: 242.9 MB / 1.151 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.0002711/7.664, allocations: 124.8 kB / 3.716 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/7.664, allocations: 71.16 kB / 3.716 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/7.664, allocations: 82.53 kB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/7.664, allocations: 7.984 kB / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/7.664, allocations: 0 / 3.716 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001948/7.666, allocations: 0.7147 MB / 3.717 GB, free: 241.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/7.67, allocations: 1.702 MB / 3.718 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/7.67, allocations: 4 kB / 3.718 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/7.671, allocations: 120.3 kB / 3.718 GB, free: 240 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/7.671, allocations: 132.8 kB / 3.718 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/7.671, allocations: 8 kB / 3.718 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/7.673, allocations: 1.74 MB / 3.72 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/7.673, allocations: 4 kB / 3.72 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002517/7.676, allocations: 1.274 MB / 3.721 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003192/7.679, allocations: 1.982 MB / 3.723 GB, free: 234.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/7.679, allocations: 220.1 kB / 3.724 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/7.68, allocations: 4 kB / 3.724 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/7.681, allocations: 83.92 kB / 3.724 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/7.681, allocations: 39.81 kB / 3.724 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/7.681, allocations: 31.97 kB / 3.724 GB, free: 234.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005117/7.681, allocations: 395.2 kB / 3.724 GB, free: 233.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00257/7.684, allocations: 0.496 MB / 3.725 GB, free: 233.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 (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.002046/7.686, allocations: 1.519 MB / 3.726 GB, free: 231.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001/7.687, allocations: 0.5753 MB / 3.727 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/7.687, allocations: 4 kB / 3.727 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/7.688, allocations: 350.8 kB / 3.727 GB, free: 230.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/7.689, allocations: 388 kB / 3.727 GB, free: 230.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004201/7.694, allocations: 1.422 MB / 3.729 GB, free: 229 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/7.695, allocations: 1.136 MB / 3.73 GB, free: 227.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.82e-07/7.695, allocations: 0 / 3.73 GB, free: 227.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)