Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") [: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 8.1.4-maint.8.1.x/package.mo): time 1.48/1.48, allocations: 289.8 MB / 297.1 MB, free: 6.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 181.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009445/0.0009446, allocations: 98.55 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.685e-06/7.715e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7294, allocations: 116.3 MB / 0.9725 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.737, allocations: 443.3 MB / 1.405 GB, free: 46.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.737, allocations: 91.12 kB / 1.406 GB, free: 46.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.329/4.066, allocations: 0.6937 GB / 2.099 GB, free: 192.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001695/4.066, allocations: 38.39 kB / 2.099 GB, free: 192.1 MB / 0.948 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 0.003326/4.069, allocations: 1.727 MB / 2.101 GB, free: 191 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/4.069, allocations: 7.812 kB / 2.101 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/4.071, allocations: 376.4 kB / 2.101 GB, free: 190.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01956/4.09, allocations: 8.59 MB / 2.11 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/4.09, allocations: 26.25 kB / 2.11 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/4.091, allocations: 54 kB / 2.11 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/4.092, allocations: 0.6226 MB / 2.11 GB, free: 187.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/4.093, allocations: 0.8559 MB / 2.111 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/4.094, allocations: 2.531 kB / 2.111 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/4.094, allocations: 7.891 kB / 2.111 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/4.094, allocations: 22.19 kB / 2.111 GB, free: 187.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/4.1, allocations: 4.759 MB / 2.116 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/4.101, allocations: 456.4 kB / 2.116 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/4.101, allocations: 233.3 kB / 2.117 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/4.104, allocations: 1.653 MB / 2.118 GB, free: 181.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004265/4.104, allocations: 368.1 kB / 2.119 GB, free: 181.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/4.104, allocations: 0 / 2.119 GB, free: 181.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001741/4.106, allocations: 0.6856 MB / 2.119 GB, free: 181 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/4.106, allocations: 114.4 kB / 2.119 GB, free: 180.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/4.107, allocations: 0.9704 MB / 2.12 GB, free: 180.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/4.107, allocations: 28.48 kB / 2.12 GB, free: 180.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/4.107, allocations: 432.7 kB / 2.121 GB, free: 179.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/4.108, allocations: 150.9 kB / 2.121 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/4.108, allocations: 0 / 2.121 GB, free: 179.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/4.108, allocations: 332.9 kB / 2.121 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/4.108, allocations: 213.1 kB / 2.121 GB, free: 179.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/4.108, allocations: 483.9 kB / 2.122 GB, free: 178.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/4.109, allocations: 356.8 kB / 2.122 GB, free: 178.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/4.109, allocations: 5.938 kB / 2.122 GB, free: 178.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001705/4.111, allocations: 0.8651 MB / 2.123 GB, free: 178.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004996/4.112, allocations: 2.739 MB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/4.112, allocations: 9.625 kB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/4.112, allocations: 78.94 kB / 2.126 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/4.113, allocations: 164.1 kB / 2.126 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000616/4.113, allocations: 1.149 MB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009657/4.114, allocations: 107.3 kB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-05/4.114, allocations: 40.48 kB / 2.127 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/4.114, allocations: 9.875 kB / 2.127 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/4.116, allocations: 0.6695 MB / 2.128 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/4.116, allocations: 7.406 kB / 2.128 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001854/4.116, allocations: 80.61 kB / 2.128 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/4.117, allocations: 160.7 kB / 2.128 GB, free: 173.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005706/4.117, allocations: 1.148 MB / 2.129 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/4.118, allocations: 98.59 kB / 2.129 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/4.118, allocations: 41.45 kB / 2.129 GB, free: 172.7 MB / 0.948 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.0002318/4.118, allocations: 166 kB / 2.13 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/4.118, allocations: 127 kB / 2.13 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/4.12, allocations: 0.8752 MB / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/4.12, allocations: 13.16 kB / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/4.12, allocations: 0 / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/4.12, allocations: 0 / 2.131 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/4.123, allocations: 1.841 MB / 2.132 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/4.123, allocations: 0 / 2.132 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/4.124, allocations: 114.8 kB / 2.132 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/4.124, allocations: 63.53 kB / 2.132 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/4.124, allocations: 15.77 kB / 2.133 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005852/4.125, allocations: 1.148 MB / 2.134 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/4.125, allocations: 2.688 kB / 2.134 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001359/4.126, allocations: 1.001 MB / 2.135 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/4.127, allocations: 299.5 kB / 2.135 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/4.127, allocations: 5.719 kB / 2.135 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/4.128, allocations: 86.61 kB / 2.135 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/4.128, allocations: 29.45 kB / 2.135 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/4.128, allocations: 37.62 kB / 2.135 GB, free: 168.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009222/4.129, allocations: 0.7412 MB / 2.136 GB, free: 168.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002354/4.131, allocations: 0.7569 MB / 2.137 GB, free: 168 MB / 0.948 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.001488/4.133, allocations: 0.9796 MB / 2.137 GB, free: 167.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001699/4.134, allocations: 1.002 MB / 2.138 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/4.134, allocations: 0 / 2.138 GB, free: 167.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005458/4.135, allocations: 346.1 kB / 2.139 GB, free: 167 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/4.137, allocations: 0.527 MB / 2.139 GB, free: 166.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/4.141, allocations: 1.683 MB / 2.141 GB, free: 166 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/4.142, allocations: 1.344 MB / 2.142 GB, free: 165 MB / 0.948 GB Notification: Performance of SimCode: time 7.51e-07/4.142, allocations: 0 / 2.142 GB, free: 165 MB / 0.948 GB Notification: Performance of Templates: time 0.04775/4.19, allocations: 30.35 MB / 2.172 GB, free: 140.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)