Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") [: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.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001001/0.001001, allocations: 185.3 kB / 366.3 MB, free: 2.004 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.088/1.088, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0007558/0.0007558, allocations: 93.2 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.057e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4213, allocations: 116.3 MB / 0.9726 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.5572, allocations: 137.7 MB / 1.107 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001721/0.5574, allocations: 63.95 kB / 1.107 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001911/0.5593, allocations: 0.5251 MB / 1.108 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5593, allocations: 0 / 1.108 GB, free: 10.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003769/0.5597, allocations: 354.4 kB / 1.108 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.5598, allocations: 12.59 kB / 1.108 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.5598, allocations: 3.906 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.5599, allocations: 175 kB / 1.108 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5599, allocations: 4 kB / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5599, allocations: 0 / 1.108 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.893e-05/0.56, allocations: 16 kB / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.901e-05/0.5601, allocations: 42.2 kB / 1.108 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.5601, allocations: 0 / 1.108 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5601, allocations: 3.984 kB / 1.108 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.5601, allocations: 0 / 1.108 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.5606, allocations: 297.3 kB / 1.108 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.177e-05/0.5607, allocations: 28.66 kB / 1.109 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.5607, allocations: 17.7 kB / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.5607, allocations: 0 / 1.109 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.5608, allocations: 34.5 kB / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5608, allocations: 0 / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001399/0.5609, allocations: 49.61 kB / 1.109 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.5609, allocations: 59.48 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.561, allocations: 97 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.561, allocations: 25.7 kB / 1.109 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.5611, allocations: 84.14 kB / 1.109 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.5611, allocations: 16.92 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.5611, allocations: 0 / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.5612, allocations: 314.8 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.5612, allocations: 8 kB / 1.109 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.5613, allocations: 12 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.157e-05/0.5613, allocations: 8 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5613, allocations: 0 / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.59e-05/0.5614, allocations: 53.53 kB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5614, allocations: 8 kB / 1.109 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.5614, allocations: 3.938 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.5614, allocations: 0 / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.5616, allocations: 23.98 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.5616, allocations: 0.5625 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.812e-05/0.5617, allocations: 19.97 kB / 1.109 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.5617, allocations: 8 kB / 1.109 GB, free: 8.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.225e-05/0.5617, allocations: 101 kB / 1.109 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.5618, allocations: 7.906 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.5618, allocations: 8 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.5618, allocations: 1.312 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5618, allocations: 0 / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5618, allocations: 0 / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.5619, allocations: 146.1 kB / 1.11 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.562, allocations: 4 kB / 1.11 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5621, allocations: 31.97 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.5621, allocations: 0 / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001208/0.5622, allocations: 155.4 kB / 1.11 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.5623, allocations: 81.02 kB / 1.11 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.5623, allocations: 4 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5624, allocations: 19.98 kB / 1.11 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.5625, allocations: 5.531 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5625, allocations: 4 kB / 1.11 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.286e-05/0.5625, allocations: 84.84 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001944/0.5627, allocations: 7.938 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001012/0.5628, allocations: 102.3 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.146e-05/0.5629, allocations: 27.97 kB / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.5629, allocations: 0 / 1.11 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.5629, allocations: 19.94 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.5631, allocations: 4 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.5633, allocations: 88.06 kB / 1.11 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.5636, allocations: 0.6954 MB / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.5636, allocations: 0 / 1.111 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of Templates: time 0.002034/0.5656, allocations: 0.5916 MB / 1.111 GB, free: 6.055 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)