Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") [: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.486/1.486, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.0009823/0.0009823, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.451/1.451, allocations: 205.1 MB / 0.6256 GB, free: 7.43 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.0009074/0.0009074, allocations: 96.12 kB / 0.7396 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.344e-06, allocations: 0 / 0.859 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7582, allocations: 116.3 MB / 0.9726 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.796, allocations: 443.3 MB / 1.405 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.797, allocations: 91.91 kB / 1.406 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.413/4.21, allocations: 0.6937 GB / 2.099 GB, free: 188 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00017/4.21, allocations: 37.72 kB / 2.099 GB, free: 188 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.003117/4.213, allocations: 1.723 MB / 2.101 GB, free: 187.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/4.213, allocations: 10.73 kB / 2.101 GB, free: 187.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/4.215, allocations: 372.7 kB / 2.101 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/4.234, allocations: 8.59 MB / 2.11 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/4.234, allocations: 33.19 kB / 2.11 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/4.234, allocations: 52.97 kB / 2.11 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00127/4.235, allocations: 0.6207 MB / 2.11 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/4.237, allocations: 0.851 MB / 2.111 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/4.237, allocations: 2.156 kB / 2.111 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/4.237, allocations: 0 / 2.111 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/4.237, allocations: 24.19 kB / 2.111 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/4.243, allocations: 4.763 MB / 2.116 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/4.244, allocations: 440.5 kB / 2.116 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/4.244, allocations: 249.8 kB / 2.117 GB, free: 183.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002314/4.247, allocations: 1.649 MB / 2.118 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004326/4.247, allocations: 369.5 kB / 2.119 GB, free: 182.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.669e-06/4.247, allocations: 0 / 2.119 GB, free: 182.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.0018/4.249, allocations: 0.6972 MB / 2.119 GB, free: 182.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/4.249, allocations: 110.4 kB / 2.119 GB, free: 182.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/4.251, allocations: 0.9699 MB / 2.12 GB, free: 182.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/4.251, allocations: 28.52 kB / 2.12 GB, free: 182.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/4.251, allocations: 437.6 kB / 2.121 GB, free: 182 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/4.251, allocations: 147.5 kB / 2.121 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/4.251, allocations: 0.625 kB / 2.121 GB, free: 181.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/4.251, allocations: 333.6 kB / 2.121 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/4.252, allocations: 213.2 kB / 2.121 GB, free: 181.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/4.252, allocations: 485.9 kB / 2.122 GB, free: 181.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/4.253, allocations: 362.6 kB / 2.122 GB, free: 181.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/4.254, allocations: 3.875 kB / 2.122 GB, free: 181.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002254/4.256, allocations: 0.8587 MB / 2.123 GB, free: 181.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005311/4.256, allocations: 2.745 MB / 2.126 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/4.256, allocations: 7.312 kB / 2.126 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/4.257, allocations: 77.92 kB / 2.126 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/4.257, allocations: 164.4 kB / 2.126 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006917/4.258, allocations: 1.144 MB / 2.127 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/4.259, allocations: 112.2 kB / 2.127 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/4.259, allocations: 41.95 kB / 2.127 GB, free: 177.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/4.259, allocations: 3.344 kB / 2.127 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001751/4.261, allocations: 0.6744 MB / 2.128 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/4.261, allocations: 8.312 kB / 2.128 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/4.261, allocations: 70.52 kB / 2.128 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/4.262, allocations: 158.4 kB / 2.128 GB, free: 177.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006318/4.263, allocations: 1.16 MB / 2.129 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/4.264, allocations: 96.91 kB / 2.129 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/4.264, allocations: 42.02 kB / 2.129 GB, free: 176.2 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.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.0002795/4.264, allocations: 169.2 kB / 2.13 GB, free: 176 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/4.264, allocations: 127.5 kB / 2.13 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/4.267, allocations: 0.8802 MB / 2.131 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/4.267, allocations: 8.062 kB / 2.131 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.267, allocations: 7.719 kB / 2.131 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/4.267, allocations: 3.25 kB / 2.131 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/4.27, allocations: 1.832 MB / 2.132 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/4.27, allocations: 6.844 kB / 2.132 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/4.27, allocations: 102.2 kB / 2.132 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/4.271, allocations: 72.06 kB / 2.132 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/4.271, allocations: 14.98 kB / 2.132 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005923/4.271, allocations: 1.14 MB / 2.134 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/4.271, allocations: 5.562 kB / 2.134 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001507/4.273, allocations: 0.9891 MB / 2.135 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/4.274, allocations: 306.6 kB / 2.135 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/4.274, allocations: 3.969 kB / 2.135 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008645/4.275, allocations: 79.16 kB / 2.135 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/4.275, allocations: 37.97 kB / 2.135 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/4.275, allocations: 35.34 kB / 2.135 GB, free: 173.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001118/4.276, allocations: 0.7455 MB / 2.136 GB, free: 173.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003227/4.279, allocations: 0.7439 MB / 2.136 GB, free: 173.2 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.002395/4.282, allocations: 0.9874 MB / 2.137 GB, free: 172.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002228/4.284, allocations: 1.001 MB / 2.138 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/4.284, allocations: 0 / 2.138 GB, free: 172.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/4.284, allocations: 347.5 kB / 2.139 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/4.287, allocations: 0.515 MB / 2.139 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/4.29, allocations: 1.675 MB / 2.141 GB, free: 171.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008812/4.291, allocations: 1.352 MB / 2.142 GB, free: 170.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.295e-06/4.291, allocations: 3.031 kB / 2.142 GB, free: 170.9 MB / 0.948 GB Notification: Performance of Templates: time 0.05558/4.347, allocations: 30.35 MB / 2.172 GB, free: 165.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)