Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 181.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000931/0.0009309, allocations: 102 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5974/0.5983, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.8634, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.984, allocations: 0.5202 GB / 1.725 GB, free: 8.328 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.985, allocations: 89.45 kB / 1.726 GB, free: 8.281 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 2.117/4.102, allocations: 0.5475 GB / 2.273 GB, free: 294.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/4.102, allocations: 7.844 kB / 2.273 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/4.103, allocations: 145.3 kB / 2.273 GB, free: 294.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/4.112, allocations: 4.299 MB / 2.277 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/4.112, allocations: 15.66 kB / 2.277 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/4.112, allocations: 31.34 kB / 2.277 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005454/4.113, allocations: 296 kB / 2.278 GB, free: 294 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/4.114, allocations: 451.1 kB / 2.278 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/4.114, allocations: 3.25 kB / 2.278 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/4.114, allocations: 3.938 kB / 2.278 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/4.114, allocations: 11.72 kB / 2.278 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/4.116, allocations: 2.223 MB / 2.28 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/4.117, allocations: 185.8 kB / 2.28 GB, free: 292.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/4.117, allocations: 127.5 kB / 2.281 GB, free: 292.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/4.118, allocations: 2.296 MB / 2.283 GB, free: 290 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/4.118, allocations: 38.41 kB / 2.283 GB, free: 290 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/4.118, allocations: 0 / 2.283 GB, free: 290 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.005462/4.123, allocations: 1.75 MB / 2.285 GB, free: 289.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/4.123, allocations: 62.25 kB / 2.285 GB, free: 289.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/4.124, allocations: 418.9 kB / 2.285 GB, free: 289.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/4.124, allocations: 29.42 kB / 2.285 GB, free: 289.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/4.124, allocations: 247.1 kB / 2.285 GB, free: 289 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/4.124, allocations: 151.2 kB / 2.285 GB, free: 288.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/4.124, allocations: 0 / 2.285 GB, free: 288.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/4.124, allocations: 371 kB / 2.286 GB, free: 288.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/4.124, allocations: 135.3 kB / 2.286 GB, free: 288.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/4.125, allocations: 257 kB / 2.286 GB, free: 288.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000902/4.126, allocations: 250.5 kB / 2.286 GB, free: 288.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/4.126, allocations: 0 / 2.286 GB, free: 288.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001674/4.127, allocations: 0.6545 MB / 2.287 GB, free: 288.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/4.128, allocations: 1.137 MB / 2.288 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/4.128, allocations: 0 / 2.288 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/4.128, allocations: 180.7 kB / 2.288 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/4.128, allocations: 80.2 kB / 2.288 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/4.129, allocations: 1.412 MB / 2.29 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/4.13, allocations: 29.22 kB / 2.29 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/4.13, allocations: 43.36 kB / 2.29 GB, free: 286.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-06/4.13, allocations: 3 kB / 2.29 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001428/4.132, allocations: 0.5449 MB / 2.29 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/4.132, allocations: 7.812 kB / 2.29 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/4.132, allocations: 184.5 kB / 2.291 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/4.132, allocations: 82.27 kB / 2.291 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/4.133, allocations: 1.406 MB / 2.292 GB, free: 285 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/4.134, allocations: 22.66 kB / 2.292 GB, free: 284.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/4.134, allocations: 41.83 kB / 2.292 GB, free: 284.9 MB / 1.151 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0002216/4.134, allocations: 135.2 kB / 2.292 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/4.134, allocations: 75.17 kB / 2.292 GB, free: 284.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/4.137, allocations: 0.9049 MB / 2.293 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/4.137, allocations: 11.53 kB / 2.293 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/4.137, allocations: 0 / 2.293 GB, free: 284.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/4.138, allocations: 0.7859 MB / 2.294 GB, free: 284.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/4.141, allocations: 1.5 MB / 2.295 GB, free: 284.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/4.141, allocations: 0 / 2.295 GB, free: 284.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/4.141, allocations: 50.22 kB / 2.295 GB, free: 284.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/4.142, allocations: 173.2 kB / 2.296 GB, free: 284.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/4.142, allocations: 7.094 kB / 2.296 GB, free: 284.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/4.143, allocations: 1.408 MB / 2.297 GB, free: 283 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/4.143, allocations: 96 / 2.297 GB, free: 283 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001963/4.145, allocations: 1.055 MB / 2.298 GB, free: 282.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002393/4.147, allocations: 1.752 MB / 2.3 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/4.148, allocations: 217.9 kB / 2.3 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/4.148, allocations: 0 / 2.3 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/4.148, allocations: 27.08 kB / 2.3 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/4.148, allocations: 27.73 kB / 2.3 GB, free: 282.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/4.148, allocations: 26.33 kB / 2.3 GB, free: 282.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004351/4.149, allocations: 321.5 kB / 2.3 GB, free: 282 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004068/4.153, allocations: 0.6984 MB / 2.301 GB, free: 281.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.002081/4.155, allocations: 0.6294 MB / 2.302 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001725/4.157, allocations: 0.7342 MB / 2.302 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/4.157, allocations: 0 / 2.302 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005862/4.157, allocations: 285.4 kB / 2.303 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/4.159, allocations: 293.3 kB / 2.303 GB, free: 281.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/4.161, allocations: 0.9765 MB / 2.304 GB, free: 281.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008571/4.162, allocations: 1.052 MB / 2.305 GB, free: 280.7 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/4.162, allocations: 0 / 2.305 GB, free: 280.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)