Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.508/2.508, allocations: 248.6 MB / 255.9 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 185.9 kB / 315.1 MB, free: 4.281 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.08/2.08, allocations: 205.1 MB / 0.5658 GB, free: 376 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001906/0.001906, allocations: 98.75 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4788/0.4808, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.7133, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6698/1.383, allocations: 131.5 MB / 1.012 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.384, allocations: 64.78 kB / 1.012 GB, free: 8.664 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007949/1.392, allocations: 0.9651 MB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/1.392, allocations: 12 kB / 1.013 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/1.392, allocations: 7.906 kB / 1.013 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/1.392, allocations: 178.5 kB / 1.013 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/1.392, allocations: 7.906 kB / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/1.392, allocations: 0 / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002299/1.393, allocations: 22.25 kB / 1.013 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/1.393, allocations: 44.81 kB / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/1.393, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.393, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.393, allocations: 0 / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/1.394, allocations: 256.7 kB / 1.013 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/1.394, allocations: 46.23 kB / 1.013 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/1.394, allocations: 12.61 kB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.394, allocations: 7.812 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/1.394, allocations: 55.11 kB / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.078e-06/1.394, allocations: 4 kB / 1.013 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003514/1.395, allocations: 68.08 kB / 1.014 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.395, allocations: 54.59 kB / 1.014 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.395, allocations: 110.7 kB / 1.014 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.395, allocations: 29.64 kB / 1.014 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/1.395, allocations: 84.05 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/1.395, allocations: 10.97 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/1.395, allocations: 0 / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.396, allocations: 326.5 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/1.396, allocations: 11.31 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/1.396, allocations: 33.39 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/1.396, allocations: 6.812 kB / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.946e-06/1.396, allocations: 0 / 1.014 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007955/1.397, allocations: 77.2 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/1.397, allocations: 8.062 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.397, allocations: 0 / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.496e-05/1.397, allocations: 0 / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/1.397, allocations: 11.92 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.397, allocations: 4 kB / 1.014 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/1.398, allocations: 15.98 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/1.398, allocations: 4 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001541/1.398, allocations: 106.9 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/1.398, allocations: 11.84 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.568e-05/1.398, allocations: 4.375 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.398, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.398, allocations: 0 / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.398, allocations: 3.984 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/1.398, allocations: 157.6 kB / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.399, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.56e-05/1.399, allocations: 0 / 1.015 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/1.399, allocations: 4 kB / 1.015 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.399, allocations: 3.938 kB / 1.015 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.399, allocations: 4 kB / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.399, allocations: 0 / 1.015 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/1.399, allocations: 88.23 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003417/1.399, allocations: 482.1 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.539e-05/1.399, allocations: 81.02 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.399, allocations: 0.875 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.399, allocations: 15.98 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/1.4, allocations: 11.97 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.4, allocations: 4 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.203e-05/1.4, allocations: 95 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001096/1.401, allocations: 12 kB / 1.015 GB, free: 5.066 MB / 0.6355 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001557/1.401, allocations: 102.9 kB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001648/1.401, allocations: 37.92 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.401, allocations: 2.562 kB / 1.015 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/1.401, allocations: 22.94 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/1.402, allocations: 15.19 kB / 1.016 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/1.403, allocations: 95.05 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/1.403, allocations: 0.7027 MB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of SimCode: time 1.463e-06/1.403, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB