Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",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 1.947/1.947, 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.001006/0.001006, allocations: 181.3 kB / 487 MB, free: 5.336 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.296/1.296, 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.001014/0.001015, allocations: 99.42 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5299/0.5309, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.7562, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.647, allocations: 440.6 MB / 1.636 GB, free: 14.82 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.647, allocations: 95.53 kB / 1.636 GB, free: 14.77 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 2.367/4.015, allocations: 0.7064 GB / 2.342 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/4.015, allocations: 12.91 kB / 2.342 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/4.017, allocations: 468.6 kB / 2.343 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02118/4.038, allocations: 8.764 MB / 2.351 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/4.038, allocations: 34.25 kB / 2.351 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/4.038, allocations: 52.72 kB / 2.351 GB, free: 212.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001367/4.04, allocations: 0.6341 MB / 2.352 GB, free: 212 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/4.041, allocations: 0.8635 MB / 2.353 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/4.041, allocations: 0 / 2.353 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/4.041, allocations: 2.625 kB / 2.353 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/4.041, allocations: 32.52 kB / 2.353 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/4.048, allocations: 4.804 MB / 2.357 GB, free: 207.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/4.049, allocations: 458.2 kB / 2.358 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/4.049, allocations: 246 kB / 2.358 GB, free: 207.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/4.052, allocations: 1.69 MB / 2.36 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004821/4.052, allocations: 370.5 kB / 2.36 GB, free: 205.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/4.052, allocations: 0 / 2.36 GB, free: 205.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001942/4.054, allocations: 0.7063 MB / 2.361 GB, free: 204.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/4.054, allocations: 109.4 kB / 2.361 GB, free: 204.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/4.055, allocations: 0.9673 MB / 2.362 GB, free: 204.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/4.056, allocations: 28.2 kB / 2.362 GB, free: 204.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/4.056, allocations: 438.4 kB / 2.362 GB, free: 203.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/4.056, allocations: 157.8 kB / 2.362 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/4.056, allocations: 0.9688 kB / 2.362 GB, free: 203.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/4.056, allocations: 327.6 kB / 2.363 GB, free: 203.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/4.056, allocations: 215.9 kB / 2.363 GB, free: 203.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/4.057, allocations: 496.9 kB / 2.363 GB, free: 202.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/4.058, allocations: 364.7 kB / 2.364 GB, free: 202.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/4.058, allocations: 2.562 kB / 2.364 GB, free: 202.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002068/4.06, allocations: 0.8774 MB / 2.365 GB, free: 202.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000624/4.061, allocations: 2.741 MB / 2.367 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/4.061, allocations: 7.25 kB / 2.367 GB, free: 199.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/4.061, allocations: 80.48 kB / 2.367 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/4.062, allocations: 173.3 kB / 2.368 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006977/4.063, allocations: 1.138 MB / 2.369 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/4.064, allocations: 122 kB / 2.369 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/4.064, allocations: 47.22 kB / 2.369 GB, free: 198.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/4.064, allocations: 3.469 kB / 2.369 GB, free: 198.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/4.066, allocations: 0.6786 MB / 2.369 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/4.066, allocations: 7.125 kB / 2.369 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/4.066, allocations: 73.34 kB / 2.37 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/4.067, allocations: 161.9 kB / 2.37 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006055/4.067, allocations: 1.152 MB / 2.371 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009978/4.068, allocations: 111.3 kB / 2.371 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/4.068, allocations: 39.23 kB / 2.371 GB, free: 196.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * 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 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002674/4.069, allocations: 162 kB / 2.371 GB, free: 196.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/4.069, allocations: 126.7 kB / 2.371 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/4.071, allocations: 0.9059 MB / 2.372 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/4.071, allocations: 9.562 kB / 2.372 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/4.071, allocations: 4.906 kB / 2.372 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/4.071, allocations: 1.125 kB / 2.372 GB, free: 195.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/4.075, allocations: 1.868 MB / 2.374 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/4.075, allocations: 1.625 kB / 2.374 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/4.075, allocations: 119.2 kB / 2.374 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/4.075, allocations: 68 kB / 2.374 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/4.076, allocations: 12.02 kB / 2.374 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006766/4.076, allocations: 1.148 MB / 2.375 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.076, allocations: 1.719 kB / 2.375 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001603/4.078, allocations: 0.9972 MB / 2.376 GB, free: 192.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001753/4.08, allocations: 1.465 MB / 2.378 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/4.08, allocations: 301.4 kB / 2.378 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/4.08, allocations: 3.969 kB / 2.378 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/4.081, allocations: 88.12 kB / 2.378 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/4.081, allocations: 49.58 kB / 2.378 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.918e-05/4.081, allocations: 31.75 kB / 2.378 GB, free: 191.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001186/4.083, allocations: 0.7448 MB / 2.379 GB, free: 190.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004632/4.087, allocations: 0.9986 MB / 2.38 GB, free: 190.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/4.089, allocations: 0.978 MB / 2.381 GB, free: 190 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001994/4.091, allocations: 1.01 MB / 2.382 GB, free: 189.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/4.091, allocations: 0 / 2.382 GB, free: 189.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/4.092, allocations: 353.7 kB / 2.382 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/4.094, allocations: 0.5027 MB / 2.383 GB, free: 189.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/4.098, allocations: 1.698 MB / 2.384 GB, free: 188.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/4.099, allocations: 1.351 MB / 2.386 GB, free: 187.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/4.099, allocations: 0 / 2.386 GB, free: 187.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)