Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_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 7.0.1/package.mo): time 2.754/2.754, allocations: 248.6 MB / 255.9 MB, free: 364 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001671/0.00167, allocations: 183.6 kB / 315.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.1 MB / 0.5658 GB, free: 25.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 87.33 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3002/0.3015, allocations: 112.4 MB / 0.7797 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.8311, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.96, allocations: 434.5 MB / 1.308 GB, free: 6.441 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.96, allocations: 96.44 kB / 1.308 GB, free: 6.391 MB / 0.823 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 3.565/5.525, allocations: 0.6765 GB / 1.984 GB, free: 40.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/5.525, allocations: 12 kB / 1.984 GB, free: 40.28 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/5.529, allocations: 365.7 kB / 1.985 GB, free: 39.92 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03194/5.561, allocations: 8.409 MB / 1.993 GB, free: 31.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/5.561, allocations: 35.97 kB / 1.993 GB, free: 31.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/5.562, allocations: 56 kB / 1.993 GB, free: 31.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/5.564, allocations: 0.621 MB / 1.994 GB, free: 30.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/5.566, allocations: 0.8554 MB / 1.994 GB, free: 29.83 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/5.566, allocations: 7.938 kB / 1.995 GB, free: 29.82 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/5.566, allocations: 4 kB / 1.995 GB, free: 29.82 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/5.566, allocations: 20 kB / 1.995 GB, free: 29.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00982/5.576, allocations: 4.7 MB / 1.999 GB, free: 24.85 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/5.577, allocations: 443.2 kB / 2 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/5.578, allocations: 237.7 kB / 2 GB, free: 24.17 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003387/5.581, allocations: 1.647 MB / 2.001 GB, free: 22.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/5.582, allocations: 363 kB / 2.002 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.556e-06/5.582, allocations: 0 / 2.002 GB, free: 21.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.002891/5.585, allocations: 0.6926 MB / 2.002 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/5.585, allocations: 106.8 kB / 2.002 GB, free: 21.14 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/5.587, allocations: 0.9694 MB / 2.003 GB, free: 20.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/5.587, allocations: 33.7 kB / 2.003 GB, free: 20.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/5.588, allocations: 440.3 kB / 2.004 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002139/5.588, allocations: 149.8 kB / 2.004 GB, free: 19.53 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/5.588, allocations: 4 kB / 2.004 GB, free: 19.53 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/5.588, allocations: 326 kB / 2.004 GB, free: 19.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005423/5.589, allocations: 209.3 kB / 2.005 GB, free: 19 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/5.589, allocations: 489.5 kB / 2.005 GB, free: 18.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/5.591, allocations: 359.8 kB / 2.005 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.076e-06/5.591, allocations: 4 kB / 2.005 GB, free: 18.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003547/5.595, allocations: 0.8618 MB / 2.006 GB, free: 17.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005183/5.595, allocations: 2.741 MB / 2.009 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/5.595, allocations: 12 kB / 2.009 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/5.596, allocations: 73.69 kB / 2.009 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/5.597, allocations: 167.7 kB / 2.009 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009384/5.598, allocations: 1.14 MB / 2.01 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/5.6, allocations: 119.3 kB / 2.01 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.6, allocations: 43.98 kB / 2.01 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/5.6, allocations: 6.344 kB / 2.01 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002617/5.603, allocations: 0.6765 MB / 2.011 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/5.603, allocations: 8 kB / 2.011 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/5.603, allocations: 77.69 kB / 2.011 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/5.604, allocations: 155.9 kB / 2.011 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009491/5.605, allocations: 1.148 MB / 2.012 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/5.607, allocations: 99.5 kB / 2.013 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/5.607, allocations: 43.98 kB / 2.013 GB, free: 10.38 MB / 0.8698 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.0003448/5.607, allocations: 158.5 kB / 2.013 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/5.608, allocations: 130.4 kB / 2.013 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/5.611, allocations: 0.8855 MB / 2.014 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/5.611, allocations: 7.984 kB / 2.014 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/5.611, allocations: 4 kB / 2.014 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/5.611, allocations: 0 / 2.014 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/5.616, allocations: 1.839 MB / 2.015 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/5.616, allocations: 0 / 2.015 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/5.617, allocations: 108 kB / 2.016 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003349/5.618, allocations: 65.69 kB / 2.016 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/5.618, allocations: 11.98 kB / 2.016 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009807/5.619, allocations: 1.151 MB / 2.017 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/5.619, allocations: 4 kB / 2.017 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002657/5.622, allocations: 0.9934 MB / 2.018 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002904/5.625, allocations: 1.443 MB / 2.019 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/5.625, allocations: 307.6 kB / 2.019 GB, free: 2.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/5.626, allocations: 4 kB / 2.019 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/5.627, allocations: 75.92 kB / 2.02 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/5.627, allocations: 43.84 kB / 2.02 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/5.628, allocations: 31.97 kB / 2.02 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001518/5.629, allocations: 0.7407 MB / 2.02 GB, free: 2.062 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005513/5.635, allocations: 0.9749 MB / 2.021 GB, free: 1.086 MB / 0.8698 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.002441/5.637, allocations: 0.9615 MB / 2.022 GB, free: 124 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.404/6.041, allocations: 0.9987 MB / 2.023 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/6.041, allocations: 3.062 kB / 2.023 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/6.043, allocations: 350.8 kB / 2.024 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006642/6.05, allocations: 0.515 MB / 2.024 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/6.059, allocations: 1.675 MB / 2.026 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/6.062, allocations: 1.357 MB / 2.027 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.783e-06/6.062, allocations: 0 / 2.027 GB, free: 188.8 MB / 0.8698 GB