Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.001142/0.001142, allocations: 186.5 kB / 7.8 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4545/0.4545, allocations: 90.84 MB / 99.06 MB, free: 14.96 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.295/1.295, allocations: 221.4 MB / 342.7 MB, free: 5.453 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.001015/0.001015, allocations: 90.14 kB / 415.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1914/0.1924, allocations: 78.45 MB / 493.9 MB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.6376, allocations: 72.32 MB / 0.553 GB, free: 44.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6649/1.303, allocations: 364.1 MB / 0.9086 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.303, allocations: 93.78 kB / 0.9087 GB, free: 10.14 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.8546/2.157, allocations: 249.5 MB / 1.152 GB, free: 19.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/2.158, allocations: 8 kB / 1.152 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/2.158, allocations: 142.5 kB / 1.153 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01752/2.176, allocations: 7.82 MB / 1.16 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/2.176, allocations: 24 kB / 1.16 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/2.176, allocations: 44 kB / 1.16 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/2.178, allocations: 0.6599 MB / 1.161 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/2.179, allocations: 0.8693 MB / 1.162 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/2.179, allocations: 3.938 kB / 1.162 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.964e-05/2.179, allocations: 4 kB / 1.162 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/2.179, allocations: 27.89 kB / 1.162 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/2.185, allocations: 4.51 MB / 1.166 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/2.185, allocations: 302.6 kB / 1.166 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/2.185, allocations: 255.8 kB / 1.167 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003348/2.186, allocations: 433.8 kB / 1.167 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/2.186, allocations: 38.89 kB / 1.167 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 3.386e-06/2.186, allocations: 0 / 1.167 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001305/2.187, allocations: 0.5461 MB / 1.168 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/2.187, allocations: 59.41 kB / 1.168 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/2.188, allocations: 0.7935 MB / 1.168 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/2.188, allocations: 29.7 kB / 1.169 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/2.188, allocations: 382.8 kB / 1.169 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/2.188, allocations: 145.9 kB / 1.169 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/2.189, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/2.189, allocations: 333.8 kB / 1.169 GB, free: 1.832 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/2.189, allocations: 217.2 kB / 1.17 GB, free: 1.621 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/2.189, allocations: 432 kB / 1.17 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/2.19, allocations: 317.6 kB / 1.17 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/2.19, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001308/2.191, allocations: 0.7635 MB / 1.171 GB, free: 16 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.2605/2.452, allocations: 2.175 MB / 1.173 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/2.452, allocations: 10 kB / 1.173 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/2.452, allocations: 58.94 kB / 1.173 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/2.453, allocations: 109.4 kB / 1.173 GB, free: 180.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/2.453, allocations: 0.6396 MB / 1.174 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/2.454, allocations: 94.11 kB / 1.174 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/2.454, allocations: 32.39 kB / 1.174 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/2.454, allocations: 1.969 kB / 1.174 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001034/2.455, allocations: 0.6251 MB / 1.175 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/2.455, allocations: 3.812 kB / 1.175 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/2.455, allocations: 55.48 kB / 1.175 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/2.456, allocations: 113.1 kB / 1.175 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/2.457, allocations: 1.59 MB / 1.176 GB, free: 179 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/2.458, allocations: 74.84 kB / 1.176 GB, free: 179 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/2.458, allocations: 24.38 kB / 1.176 GB, free: 179 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002098/2.458, allocations: 129.7 kB / 1.177 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/2.459, allocations: 90.48 kB / 1.177 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/2.46, allocations: 0.6276 MB / 1.177 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/2.46, allocations: 3.594 kB / 1.177 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/2.46, allocations: 0 / 1.177 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007808/2.461, allocations: 0.811 MB / 1.178 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/2.463, allocations: 1.556 MB / 1.18 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/2.463, allocations: 3.875 kB / 1.18 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/2.463, allocations: 78.09 kB / 1.18 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-05/2.463, allocations: 31.67 kB / 1.18 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/2.463, allocations: 12.28 kB / 1.18 GB, free: 178 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002673/2.464, allocations: 0.5709 MB / 1.18 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/2.464, allocations: 9 kB / 1.18 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001095/2.465, allocations: 0.9857 MB / 1.181 GB, free: 177.2 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001568/2.466, allocations: 1.674 MB / 1.183 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/2.467, allocations: 263 kB / 1.183 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/2.467, allocations: 10.81 kB / 1.183 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/2.468, allocations: 55.05 kB / 1.183 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/2.468, allocations: 22.69 kB / 1.183 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/2.468, allocations: 25.86 kB / 1.183 GB, free: 176.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006987/2.468, allocations: 0.6194 MB / 1.184 GB, free: 176.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003094/2.471, allocations: 0.6431 MB / 1.184 GB, free: 176.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007788/2.472, allocations: 392.3 kB / 1.185 GB, free: 176.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001408/2.474, allocations: 0.9751 MB / 1.186 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/2.474, allocations: 2.719 kB / 1.186 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002907/2.474, allocations: 243 kB / 1.186 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/2.476, allocations: 0.5193 MB / 1.187 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/2.479, allocations: 1.665 MB / 1.188 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008608/2.48, allocations: 1.337 MB / 1.189 GB, free: 175 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/2.48, allocations: 0 / 1.189 GB, free: 175 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)