Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.001151/0.001151, allocations: 187.6 kB / 7.799 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4629/0.4629, 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.371/1.371, allocations: 221.4 MB / 342.7 MB, free: 5.242 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.001017/0.001017, allocations: 92.53 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1898/0.1908, allocations: 78.46 MB / 494 MB, free: 8.02 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.6446, allocations: 72.29 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.266/4.911, allocations: 2.118 GB / 2.671 GB, free: 194.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/4.911, allocations: 87.95 kB / 2.672 GB, free: 194.6 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.548/6.458, allocations: 490.2 MB / 3.15 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/6.459, allocations: 7.312 kB / 3.15 GB, free: 120.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003541/6.462, allocations: 0.4978 MB / 3.151 GB, free: 120 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/6.465, allocations: 1.38 MB / 3.152 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/6.465, allocations: 35.56 kB / 3.152 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/6.465, allocations: 65.72 kB / 3.152 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001706/6.467, allocations: 1.178 MB / 3.153 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/6.468, allocations: 1.138 MB / 3.154 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/6.468, allocations: 0 / 3.154 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/6.468, allocations: 0 / 3.154 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/6.468, allocations: 39.11 kB / 3.154 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/6.474, allocations: 4.991 MB / 3.159 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/6.475, allocations: 0.9336 MB / 3.16 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/6.476, allocations: 0.5701 MB / 3.161 GB, free: 117.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/6.476, allocations: 203.4 kB / 3.161 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/6.476, allocations: 45.89 kB / 3.161 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=78): time 2.905e-06/6.476, allocations: 0 / 3.161 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81): time 0.004804/6.481, allocations: 2.556 MB / 3.164 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/6.481, allocations: 65.44 kB / 3.164 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/6.482, allocations: 0.7878 MB / 3.164 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/6.482, allocations: 25.7 kB / 3.164 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/6.482, allocations: 395.4 kB / 3.165 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/6.483, allocations: 277 kB / 3.165 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/6.483, allocations: 3.75 kB / 3.165 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/6.483, allocations: 345.9 kB / 3.165 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/6.483, allocations: 440.1 kB / 3.166 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/6.484, allocations: 0.5847 MB / 3.166 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/6.484, allocations: 0.557 MB / 3.167 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/6.484, allocations: 2.625 kB / 3.167 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001496/6.486, allocations: 1.204 MB / 3.168 GB, free: 115.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/6.486, allocations: 1.05 MB / 3.169 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/6.486, allocations: 3.75 kB / 3.169 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/6.486, allocations: 76.81 kB / 3.169 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/6.487, allocations: 182.2 kB / 3.169 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/6.489, allocations: 2.922 MB / 3.172 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/6.491, allocations: 108.7 kB / 3.172 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/6.491, allocations: 32.64 kB / 3.172 GB, free: 112 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/6.491, allocations: 10.22 kB / 3.172 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001377/6.492, allocations: 1.07 MB / 3.173 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/6.492, allocations: 3.062 kB / 3.173 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/6.492, allocations: 70.72 kB / 3.174 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/6.493, allocations: 169.2 kB / 3.174 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/6.494, allocations: 1.726 MB / 3.175 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/6.496, allocations: 119.9 kB / 3.175 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.865e-05/6.496, allocations: 29.66 kB / 3.175 GB, free: 110.7 MB / 0.6042 GB 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/6.496, allocations: 124 kB / 3.176 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/6.496, allocations: 104.9 kB / 3.176 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/6.498, allocations: 1.164 MB / 3.177 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/6.498, allocations: 6.406 kB / 3.177 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/6.498, allocations: 2.812 kB / 3.177 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001688/6.499, allocations: 1.225 MB / 3.178 GB, free: 110.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/6.503, allocations: 2.659 MB / 3.181 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/6.503, allocations: 0 / 3.181 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/6.504, allocations: 221.3 kB / 3.181 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/6.505, allocations: 67.03 kB / 3.181 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-05/6.505, allocations: 16.39 kB / 3.181 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/6.506, allocations: 2.904 MB / 3.184 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/6.506, allocations: 5.781 kB / 3.184 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002548/6.509, allocations: 1.935 MB / 3.186 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003166/6.512, allocations: 3.079 MB / 3.189 GB, free: 106 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000739/6.513, allocations: 318.6 kB / 3.189 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/6.513, allocations: 15.39 kB / 3.189 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/6.514, allocations: 89.55 kB / 3.189 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/6.514, allocations: 45.89 kB / 3.189 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/6.514, allocations: 30.78 kB / 3.189 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007734/6.515, allocations: 0.6245 MB / 3.19 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003753/6.519, allocations: 1.019 MB / 3.191 GB, free: 105.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001682/6.521, allocations: 1.505 MB / 3.192 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00257/6.523, allocations: 1.873 MB / 3.194 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.523, allocations: 3 kB / 3.194 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007685/6.524, allocations: 0.6498 MB / 3.195 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/6.527, allocations: 0.7107 MB / 3.195 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/6.531, allocations: 2.665 MB / 3.198 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/6.532, allocations: 1.556 MB / 3.2 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/6.532, allocations: 0 / 3.2 GB, free: 103.8 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)