Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.0011/0.0011, 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.4757/0.4757, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.338/1.338, allocations: 221.4 MB / 342.8 MB, free: 5.117 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.0009162/0.0009162, allocations: 101.8 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1718/0.1727, allocations: 78.44 MB / 493.9 MB, free: 7.949 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.5541, allocations: 72.31 MB / 0.553 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9454/1.5, allocations: 0.5651 GB / 1.118 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.5, allocations: 85.14 kB / 1.118 GB, free: 63.8 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.5721/2.072, allocations: 170.4 MB / 1.285 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/2.072, allocations: 8 kB / 1.285 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/2.075, allocations: 298.7 kB / 1.285 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/2.076, allocations: 0.7052 MB / 1.286 GB, free: 148.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/2.076, allocations: 15.98 kB / 1.286 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/2.077, allocations: 28 kB / 1.286 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005644/2.077, allocations: 293.8 kB / 1.286 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/2.078, allocations: 443 kB / 1.286 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/2.078, allocations: 7.938 kB / 1.286 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/2.078, allocations: 0 / 1.286 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/2.078, allocations: 12 kB / 1.286 GB, free: 147.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/2.08, allocations: 2.746 MB / 1.289 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/2.081, allocations: 196.9 kB / 1.289 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/2.081, allocations: 130.2 kB / 1.289 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/2.081, allocations: 0.665 MB / 1.29 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/2.081, allocations: 38.83 kB / 1.29 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/2.081, allocations: 0 / 1.29 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.005156/2.086, allocations: 1.657 MB / 1.292 GB, free: 141.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/2.087, allocations: 81.11 kB / 1.292 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/2.087, allocations: 418.1 kB / 1.292 GB, free: 141.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/2.087, allocations: 25.7 kB / 1.292 GB, free: 141.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/2.087, allocations: 252.3 kB / 1.292 GB, free: 141 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/2.087, allocations: 134 kB / 1.292 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/2.087, allocations: 0 / 1.292 GB, free: 140.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.113e-05/2.087, allocations: 366.8 kB / 1.293 GB, free: 140.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/2.088, allocations: 145 kB / 1.293 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/2.088, allocations: 266.5 kB / 1.293 GB, free: 140 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/2.088, allocations: 203.6 kB / 1.293 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/2.088, allocations: 0 / 1.293 GB, free: 139.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001554/2.09, allocations: 0.6695 MB / 1.294 GB, free: 139.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/2.09, allocations: 1.225 MB / 1.295 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/2.09, allocations: 0 / 1.295 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/2.091, allocations: 261.6 kB / 1.296 GB, free: 137.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/2.091, allocations: 71.83 kB / 1.296 GB, free: 137.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/2.096, allocations: 3.854 MB / 1.299 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/2.097, allocations: 80 kB / 1.299 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/2.097, allocations: 16 kB / 1.299 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/2.097, allocations: 7.938 kB / 1.299 GB, free: 133.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001559/2.099, allocations: 0.5825 MB / 1.3 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/2.099, allocations: 7.984 kB / 1.3 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/2.1, allocations: 257.6 kB / 1.3 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/2.1, allocations: 71.89 kB / 1.3 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/2.104, allocations: 3.851 MB / 1.304 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/2.106, allocations: 67.89 kB / 1.304 GB, free: 128.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/2.106, allocations: 23.98 kB / 1.304 GB, free: 128.3 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001888/2.106, allocations: 136.7 kB / 1.304 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/2.106, allocations: 59.62 kB / 1.304 GB, free: 128.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/2.108, allocations: 0.6097 MB / 1.305 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/2.108, allocations: 4 kB / 1.305 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/2.108, allocations: 0 / 1.305 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/2.109, allocations: 0.7017 MB / 1.306 GB, free: 126.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/2.112, allocations: 1.575 MB / 1.307 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/2.112, allocations: 0 / 1.307 GB, free: 125.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/2.112, allocations: 55.91 kB / 1.307 GB, free: 125 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/2.113, allocations: 229.6 kB / 1.307 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/2.113, allocations: 19.98 kB / 1.307 GB, free: 124.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/2.118, allocations: 3.633 MB / 1.311 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.118, allocations: 0 / 1.311 GB, free: 120.9 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001761/2.119, allocations: 0.8888 MB / 1.312 GB, free: 120 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002099/2.122, allocations: 1.507 MB / 1.313 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/2.122, allocations: 188.4 kB / 1.314 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/2.122, allocations: 7.906 kB / 1.314 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/2.123, allocations: 67.91 kB / 1.314 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/2.123, allocations: 23.91 kB / 1.314 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/2.123, allocations: 15.98 kB / 1.314 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003908/2.124, allocations: 314.9 kB / 1.314 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003199/2.127, allocations: 0.4918 MB / 1.314 GB, free: 117.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00073/2.128, allocations: 315.6 kB / 1.315 GB, free: 117 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002725/2.13, allocations: 1.175 MB / 1.316 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/2.13, allocations: 0 / 1.316 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/2.132, allocations: 479.5 kB / 1.316 GB, free: 115.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/2.133, allocations: 320.6 kB / 1.317 GB, free: 115 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/2.135, allocations: 0.9346 MB / 1.318 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/2.136, allocations: 0.9773 MB / 1.319 GB, free: 113 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/2.136, allocations: 0 / 1.319 GB, free: 113 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)