Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 187.8 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4647/0.4647, allocations: 90.85 MB / 99.07 MB, free: 14.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.4 MB / 342.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009398/0.0009396, allocations: 94.36 kB / 415.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1828/0.1838, allocations: 78.45 MB / 494 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.6189, allocations: 72.3 MB / 0.553 GB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.981/4.6, allocations: 1.934 GB / 2.487 GB, free: 128.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.6, allocations: 87.95 kB / 2.487 GB, free: 128.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.803/5.403, allocations: 272.3 MB / 2.753 GB, free: 96.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/5.403, allocations: 8 kB / 2.753 GB, free: 96.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/5.404, allocations: 175 kB / 2.753 GB, free: 96.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/5.405, allocations: 0.5354 MB / 2.754 GB, free: 95.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/5.405, allocations: 23.91 kB / 2.754 GB, free: 95.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.866e-05/5.405, allocations: 32 kB / 2.754 GB, free: 95.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007079/5.406, allocations: 450.5 kB / 2.754 GB, free: 95.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007812/5.407, allocations: 0.5409 MB / 2.755 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/5.407, allocations: 0 / 2.755 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/5.407, allocations: 4 kB / 2.755 GB, free: 94.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/5.407, allocations: 25.25 kB / 2.755 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/5.41, allocations: 2.152 MB / 2.757 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/5.41, allocations: 226.8 kB / 2.757 GB, free: 92.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/5.41, allocations: 108.8 kB / 2.757 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/5.41, allocations: 7.938 kB / 2.757 GB, free: 91.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/5.41, allocations: 38.56 kB / 2.757 GB, free: 91.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.734e-06/5.41, allocations: 0 / 2.757 GB, free: 91.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0007838/5.411, allocations: 315 kB / 2.758 GB, free: 91.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/5.411, allocations: 85.02 kB / 2.758 GB, free: 91.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/5.411, allocations: 361.1 kB / 2.758 GB, free: 91.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/5.411, allocations: 29.7 kB / 2.758 GB, free: 91.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/5.412, allocations: 294.8 kB / 2.758 GB, free: 90.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/5.412, allocations: 67.05 kB / 2.758 GB, free: 90.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/5.412, allocations: 0 / 2.758 GB, free: 90.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.216e-05/5.412, allocations: 354.7 kB / 2.759 GB, free: 90.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/5.412, allocations: 112.6 kB / 2.759 GB, free: 90.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/5.412, allocations: 191.2 kB / 2.759 GB, free: 90.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/5.412, allocations: 152.9 kB / 2.759 GB, free: 89.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/5.412, allocations: 0 / 2.759 GB, free: 89.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006611/5.413, allocations: 438.5 kB / 2.76 GB, free: 89.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/5.413, allocations: 10.81 kB / 2.76 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/5.413, allocations: 0 / 2.76 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/5.413, allocations: 85.95 kB / 2.76 GB, free: 89.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/5.414, allocations: 75.89 kB / 2.76 GB, free: 89.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/5.416, allocations: 2.801 MB / 2.763 GB, free: 86.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/5.416, allocations: 51.66 kB / 2.763 GB, free: 86.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/5.416, allocations: 16.06 kB / 2.763 GB, free: 86.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001054/5.416, allocations: 112.7 kB / 2.763 GB, free: 86.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/5.416, allocations: 43.44 kB / 2.763 GB, free: 86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.501e-05/5.416, allocations: 51.47 kB / 2.763 GB, free: 85.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/5.416, allocations: 0 / 2.763 GB, free: 85.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/5.417, allocations: 192 / 2.763 GB, free: 85.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005019/5.417, allocations: 0.4903 MB / 2.763 GB, free: 85.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/5.418, allocations: 0.8095 MB / 2.764 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/5.418, allocations: 0 / 2.764 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/5.418, allocations: 51.84 kB / 2.764 GB, free: 84.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/5.419, allocations: 64.72 kB / 2.764 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/5.419, allocations: 4.062 kB / 2.764 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/5.42, allocations: 1.518 MB / 2.766 GB, free: 82.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/5.42, allocations: 3.938 kB / 2.766 GB, free: 82.76 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004951/5.42, allocations: 421 kB / 2.766 GB, free: 82.31 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007085/5.421, allocations: 0.8294 MB / 2.767 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/5.421, allocations: 152.5 kB / 2.767 GB, free: 81.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/5.421, allocations: 4 kB / 2.767 GB, free: 81.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/5.422, allocations: 39.88 kB / 2.767 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/5.422, allocations: 15.95 kB / 2.767 GB, free: 81.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/5.422, allocations: 12 kB / 2.767 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002633/5.422, allocations: 279.2 kB / 2.767 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001709/5.424, allocations: 379.3 kB / 2.768 GB, free: 80.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/5.425, allocations: 1.066 MB / 2.769 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007069/5.426, allocations: 471.3 kB / 2.769 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/5.426, allocations: 0 / 2.769 GB, free: 79.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002268/5.426, allocations: 217.6 kB / 2.769 GB, free: 78.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/5.427, allocations: 247 kB / 2.77 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/5.429, allocations: 0.6255 MB / 2.77 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004309/5.429, allocations: 0.9548 MB / 2.771 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/5.429, allocations: 0 / 2.771 GB, free: 76.92 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)