Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [: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.0.1-maint.8.0.x/package.mo): time 1.293/1.293, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009488/0.0009489, allocations: 173.4 kB / 361.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9753/0.9753, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007467/0.0007467, allocations: 84.7 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.43e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3866, allocations: 115.3 MB / 0.9637 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5149, allocations: 138.8 MB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.5152, allocations: 85.92 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008192/0.5234, allocations: 3.308 MB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.5234, allocations: 4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005749/0.524, allocations: 0.4981 MB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.524, allocations: 8.531 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.5241, allocations: 27.72 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.5244, allocations: 268 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5244, allocations: 15.69 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5245, allocations: 8 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002436/0.5247, allocations: 128.8 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.525, allocations: 180.9 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.525, allocations: 4.984 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.525, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5251, allocations: 4 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.526, allocations: 0.7705 MB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.5264, allocations: 150.9 kB / 1.105 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5265, allocations: 68.86 kB / 1.105 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.5265, allocations: 7.938 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.5266, allocations: 91.39 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.743e-06/0.5266, allocations: 0.6562 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002492/0.5269, allocations: 133.6 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.5269, allocations: 89.11 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.5271, allocations: 185.8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.5271, allocations: 25.7 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.5272, allocations: 140.2 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.5272, allocations: 43.3 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.5272, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5273, allocations: 330.8 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.5274, allocations: 40 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.5275, allocations: 79.38 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.5276, allocations: 43.98 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5276, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002257/0.5278, allocations: 156.7 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.5279, allocations: 186 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.5279, allocations: 1.812 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.5279, allocations: 4 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.5281, allocations: 39.91 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5281, allocations: 4 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5283, allocations: 27.89 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.5283, allocations: 10.06 kB / 1.106 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.48e-06/0.5283, allocations: 4 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000174/0.5285, allocations: 104.6 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-06/0.5285, allocations: 0 / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.5285, allocations: 0.6562 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5287, allocations: 31.98 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.5287, allocations: 0 / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.5288, allocations: 23.92 kB / 1.106 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5288, allocations: 5.172 kB / 1.106 GB, free: 9.832 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/0.5289, allocations: 116.9 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.5289, allocations: 26.33 kB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.529, allocations: 17.47 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.529, allocations: 0.5625 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.529, allocations: 1.375 kB / 1.106 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.529, allocations: 4 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.5294, allocations: 482.9 kB / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5294, allocations: 0 / 1.107 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.5296, allocations: 39.91 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5296, allocations: 0 / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5297, allocations: 12.5 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5297, allocations: 0 / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5297, allocations: 0 / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003265/0.53, allocations: 303.5 kB / 1.107 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.5301, allocations: 100.8 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.5301, allocations: 0 / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.5303, allocations: 20.05 kB / 1.107 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.5303, allocations: 15.89 kB / 1.107 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.5303, allocations: 4 kB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001179/0.5305, allocations: 152.4 kB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003334/0.5308, allocations: 63.69 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001028/0.5309, allocations: 107.8 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.5312, allocations: 169 kB / 1.108 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5312, allocations: 0 / 1.108 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.5313, allocations: 55.94 kB / 1.108 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.5316, allocations: 34.5 kB / 1.108 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.5322, allocations: 277.1 kB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.5325, allocations: 0.7739 MB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.5325, allocations: 0 / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of Templates: time 0.004946/0.5375, allocations: 2.55 MB / 1.112 GB, free: 4.512 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)