Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [: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.355/1.355, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.0009617/0.0009617, allocations: 173.3 kB / 366.3 MB, free: 1.984 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.021/1.021, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.0007839/0.0007841, allocations: 89.17 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.476e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3934, allocations: 116.3 MB / 0.9726 GB, free: 76.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5213, allocations: 138.2 MB / 1.108 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.5215, allocations: 67.97 kB / 1.108 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007852/0.5293, allocations: 2.617 MB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.5293, allocations: 0 / 1.11 GB, free: 9.598 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.0003134/0.5297, allocations: 409.7 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5297, allocations: 8.031 kB / 1.111 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.5298, allocations: 11.98 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.5299, allocations: 167 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.5299, allocations: 0 / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.5299, allocations: 9.375 kB / 1.111 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.932e-05/0.53, allocations: 16.5 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.324e-05/0.5301, allocations: 41.69 kB / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.5301, allocations: 0 / 1.111 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.5301, allocations: 4 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5301, allocations: 11.89 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.5305, allocations: 325.4 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.5306, allocations: 35.92 kB / 1.111 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.531e-05/0.5306, allocations: 12.84 kB / 1.111 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.5306, allocations: 3.906 kB / 1.111 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.871e-05/0.5307, allocations: 67.41 kB / 1.111 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.5307, allocations: 0 / 1.111 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001574/0.5309, allocations: 69.59 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.5309, allocations: 51.41 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.531, allocations: 113.8 kB / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.531, allocations: 33.64 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.5311, allocations: 96.22 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.5311, allocations: 19.89 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.5311, allocations: 4.594 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.5312, allocations: 322.7 kB / 1.112 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5313, allocations: 48 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.5314, allocations: 84.28 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.5317, allocations: 72.67 kB / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5318, allocations: 0 / 1.112 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004798/0.5322, allocations: 206.4 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.5323, allocations: 4 kB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5323, allocations: 2.562 kB / 1.112 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.5323, allocations: 4 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.431e-05/0.5323, allocations: 0 / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.5323, allocations: 6.031 kB / 1.112 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.5326, allocations: 75.97 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.5327, allocations: 12.73 kB / 1.112 GB, free: 7.074 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.428e-05/0.5328, allocations: 120.8 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.5328, allocations: 0 / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.5328, allocations: 24.25 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5328, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5328, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5328, allocations: 0 / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.5329, allocations: 150.2 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.533, allocations: 1.031 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-06/0.533, allocations: 0 / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.533, allocations: 0 / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.533, allocations: 4 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.533, allocations: 3.984 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.533, allocations: 0 / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001081/0.5331, allocations: 100.9 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.5332, allocations: 81.11 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.5332, allocations: 2.312 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.5332, allocations: 7.891 kB / 1.113 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.5332, allocations: 11.98 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.5333, allocations: 1.031 kB / 1.113 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.928e-05/0.5333, allocations: 95.2 kB / 1.113 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002218/0.5335, allocations: 32.66 kB / 1.113 GB, free: 6.371 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001243/0.5337, allocations: 111.2 kB / 1.113 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.5339, allocations: 155.3 kB / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.5339, allocations: 0 / 1.113 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.5339, allocations: 23.94 kB / 1.113 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.5341, allocations: 17.08 kB / 1.113 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.5343, allocations: 94.44 kB / 1.113 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.5346, allocations: 0.6997 MB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5346, allocations: 0 / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.003325/0.5379, allocations: 1.57 MB / 1.116 GB, free: 3.691 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)