Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001129/0.001129, allocations: 179.9 kB / 366.3 MB, free: 2.016 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.675/1.675, allocations: 205.1 MB / 0.6256 GB, free: 5.918 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.0009622/0.0009622, allocations: 93.72 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3172/0.3182, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/1.102, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.999/6.101, allocations: 2.074 GB / 3.046 GB, free: 318.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/6.101, allocations: 84.31 kB / 3.047 GB, free: 318.9 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 1.515/7.616, allocations: 457 MB / 3.493 GB, free: 231.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/7.616, allocations: 11.34 kB / 3.493 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/7.619, allocations: 325.1 kB / 3.493 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/7.621, allocations: 0.8429 MB / 3.494 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/7.622, allocations: 30.08 kB / 3.494 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000269/7.622, allocations: 48.97 kB / 3.494 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001793/7.624, allocations: 0.7271 MB / 3.495 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/7.626, allocations: 0.8404 MB / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/7.626, allocations: 0 / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/7.626, allocations: 3.906 kB / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.41e-05/7.626, allocations: 32.38 kB / 3.496 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006406/7.632, allocations: 3.299 MB / 3.499 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/7.633, allocations: 458.9 kB / 3.499 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/7.633, allocations: 254.5 kB / 3.5 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/7.634, allocations: 107.7 kB / 3.5 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/7.634, allocations: 41.81 kB / 3.5 GB, free: 230 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/7.634, allocations: 0 / 3.5 GB, free: 230 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.004119/7.638, allocations: 1.345 MB / 3.501 GB, free: 229.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/7.638, allocations: 60.48 kB / 3.501 GB, free: 229.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/7.639, allocations: 0.5206 MB / 3.502 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/7.639, allocations: 27.8 kB / 3.502 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/7.64, allocations: 389.2 kB / 3.502 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/7.64, allocations: 163.5 kB / 3.502 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/7.64, allocations: 0 / 3.502 GB, free: 229.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001678/7.64, allocations: 382.8 kB / 3.503 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/7.64, allocations: 206.2 kB / 3.503 GB, free: 228.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/7.641, allocations: 339.4 kB / 3.503 GB, free: 228.7 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.003543/7.645, allocations: 0.9487 MB / 3.504 GB, free: 228.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/7.645, allocations: 3.938 kB / 3.504 GB, free: 228.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00143/7.646, allocations: 0.6997 MB / 3.505 GB, free: 228.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/7.646, allocations: 3.781 kB / 3.505 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/7.646, allocations: 3.688 kB / 3.505 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/7.647, allocations: 86.2 kB / 3.505 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/7.647, allocations: 138.5 kB / 3.505 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/7.65, allocations: 2.773 MB / 3.508 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/7.652, allocations: 56.3 kB / 3.508 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/7.652, allocations: 17.59 kB / 3.508 GB, free: 226 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002852/7.652, allocations: 117.1 kB / 3.508 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/7.652, allocations: 77.69 kB / 3.508 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/7.653, allocations: 87.42 kB / 3.508 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/7.653, allocations: 6.844 kB / 3.508 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/7.653, allocations: 0 / 3.508 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009723/7.654, allocations: 0.7988 MB / 3.509 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/7.657, allocations: 1.576 MB / 3.51 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/7.657, allocations: 2.656 kB / 3.51 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005957/7.658, allocations: 120.5 kB / 3.51 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002685/7.658, allocations: 65.41 kB / 3.51 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/7.658, allocations: 5.75 kB / 3.51 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/7.66, allocations: 1.515 MB / 3.512 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/7.66, allocations: 6.688 kB / 3.512 GB, free: 223.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001611/7.661, allocations: 1.139 MB / 3.513 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002201/7.663, allocations: 1.854 MB / 3.515 GB, free: 222.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/7.664, allocations: 223.5 kB / 3.515 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/7.664, allocations: 3.125 kB / 3.515 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009397/7.665, allocations: 54.38 kB / 3.515 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/7.665, allocations: 35.52 kB / 3.515 GB, free: 222.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.425e-05/7.665, allocations: 31.34 kB / 3.515 GB, free: 222.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005565/7.666, allocations: 405.2 kB / 3.516 GB, free: 222.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002714/7.669, allocations: 0.5027 MB / 3.516 GB, free: 222.2 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 (45): * Single equations (assignments): 44 * 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.002084/7.671, allocations: 1.442 MB / 3.517 GB, free: 221.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001561/7.672, allocations: 0.6885 MB / 3.518 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/7.672, allocations: 0 / 3.518 GB, free: 221.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006817/7.673, allocations: 350.8 kB / 3.518 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/7.677, allocations: 431.7 kB / 3.519 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/7.682, allocations: 1.327 MB / 3.52 GB, free: 221.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/7.683, allocations: 1.17 MB / 3.521 GB, free: 220.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.183e-06/7.683, allocations: 0 / 3.521 GB, free: 220.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)