Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7417/0.7417, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 193.2 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.1 MB / 399.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 80.2 kB / 476.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3149/0.3159, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.4932, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.735/2.228, allocations: 0.563 GB / 1.184 GB, free: 182.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/2.228, allocations: 89.75 kB / 1.184 GB, free: 182.5 MB / 0.6355 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.445/2.673, allocations: 166.2 MB / 1.346 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/2.673, allocations: 8 kB / 1.346 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/2.676, allocations: 294.8 kB / 1.347 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/2.678, allocations: 0.8037 MB / 1.347 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/2.678, allocations: 12 kB / 1.347 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/2.678, allocations: 28 kB / 1.347 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006519/2.679, allocations: 293.9 kB / 1.348 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/2.68, allocations: 442.9 kB / 1.348 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/2.68, allocations: 0 / 1.348 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/2.68, allocations: 8 kB / 1.348 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/2.68, allocations: 8 kB / 1.348 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/2.684, allocations: 2.844 MB / 1.351 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/2.684, allocations: 169.6 kB / 1.351 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/2.684, allocations: 113.7 kB / 1.351 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/2.685, allocations: 0.6532 MB / 1.352 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/2.685, allocations: 42.5 kB / 1.352 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 4.769e-06/2.685, allocations: 0 / 1.352 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.005868/2.691, allocations: 1.509 MB / 1.353 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/2.691, allocations: 55.41 kB / 1.353 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/2.692, allocations: 410 kB / 1.354 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/2.692, allocations: 25.7 kB / 1.354 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/2.692, allocations: 252.3 kB / 1.354 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.44e-05/2.692, allocations: 122.2 kB / 1.354 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/2.692, allocations: 4 kB / 1.354 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.841e-05/2.692, allocations: 358.8 kB / 1.355 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/2.692, allocations: 140.8 kB / 1.355 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/2.693, allocations: 258.1 kB / 1.355 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/2.693, allocations: 183.8 kB / 1.355 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/2.693, allocations: 4 kB / 1.355 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001587/2.695, allocations: 0.6461 MB / 1.356 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002774/2.695, allocations: 1.213 MB / 1.357 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/2.695, allocations: 4 kB / 1.357 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000891/2.696, allocations: 253.5 kB / 1.357 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/2.696, allocations: 63.91 kB / 1.357 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/2.701, allocations: 3.701 MB / 1.361 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/2.702, allocations: 83.97 kB / 1.361 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/2.702, allocations: 27.92 kB / 1.361 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/2.702, allocations: 4 kB / 1.361 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001431/2.704, allocations: 0.5481 MB / 1.362 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/2.704, allocations: 4 kB / 1.362 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3343/3.038, allocations: 241.5 kB / 1.362 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/3.039, allocations: 63.31 kB / 1.362 GB, free: 199.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00452/3.043, allocations: 3.69 MB / 1.365 GB, free: 197 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/3.045, allocations: 83.91 kB / 1.365 GB, free: 197 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.2e-05/3.045, allocations: 21.8 kB / 1.366 GB, free: 197 MB / 0.6355 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 (37): * Single equations (assignments): 35 * 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 7,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003105/3.045, allocations: 122.6 kB / 1.366 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/3.045, allocations: 61.16 kB / 1.366 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/3.047, allocations: 0.586 MB / 1.366 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/3.047, allocations: 10.86 kB / 1.366 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/3.047, allocations: 0 / 1.366 GB, free: 196.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/3.048, allocations: 0.6807 MB / 1.367 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/3.051, allocations: 1.39 MB / 1.368 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/3.051, allocations: 3.938 kB / 1.368 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/3.051, allocations: 58.89 kB / 1.368 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008335/3.052, allocations: 224.4 kB / 1.369 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/3.052, allocations: 3.875 kB / 1.369 GB, free: 196.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/3.056, allocations: 3.45 MB / 1.372 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/3.056, allocations: 5.312 kB / 1.372 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001841/3.058, allocations: 0.8275 MB / 1.373 GB, free: 193.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002139/3.06, allocations: 1.435 MB / 1.374 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003963/3.061, allocations: 182.2 kB / 1.374 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/3.061, allocations: 3.75 kB / 1.374 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/3.062, allocations: 75.5 kB / 1.374 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/3.062, allocations: 26.73 kB / 1.374 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/3.062, allocations: 11.53 kB / 1.374 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003934/3.063, allocations: 308.8 kB / 1.375 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003251/3.066, allocations: 472.5 kB / 1.375 GB, free: 192.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 23 * 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 5,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007443/3.067, allocations: 306.5 kB / 1.375 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002595/3.069, allocations: 1.115 MB / 1.377 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.069, allocations: 0 / 1.377 GB, free: 192.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/3.07, allocations: 445.5 kB / 1.377 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/3.072, allocations: 311.9 kB / 1.377 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/3.075, allocations: 0.8996 MB / 1.378 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007744/3.075, allocations: 0.982 MB / 1.379 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.482e-06/3.075, allocations: 2.953 kB / 1.379 GB, free: 191.2 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)