Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.MultiOr,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.604/2.604, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.002201/0.002201, allocations: 192 kB / 315.1 MB, free: 4.277 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.086/2.086, allocations: 205.1 MB / 0.5658 GB, free: 380 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.001277/0.001277, allocations: 92.98 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.493/0.4943, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.6934, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6601/1.354, allocations: 131.8 MB / 1.012 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.354, allocations: 72.02 kB / 1.012 GB, free: 8.418 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01199/1.366, allocations: 2.366 MB / 1.015 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.366, allocations: 8 kB / 1.015 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/1.366, allocations: 15.81 kB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/1.366, allocations: 229.3 kB / 1.015 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/1.366, allocations: 4 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/1.367, allocations: 12 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003216/1.367, allocations: 91.03 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/1.367, allocations: 146.2 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.367, allocations: 0 / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/1.367, allocations: 3.938 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.367, allocations: 4 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/1.369, allocations: 0.5639 MB / 1.016 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/1.369, allocations: 205 kB / 1.016 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/1.369, allocations: 53.48 kB / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.369, allocations: 0 / 1.016 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/1.37, allocations: 107.4 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/1.37, allocations: 0 / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006587/1.37, allocations: 142.5 kB / 1.016 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/1.37, allocations: 51.41 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/1.371, allocations: 164.8 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.757e-05/1.371, allocations: 29.7 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.371, allocations: 106.5 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/1.371, allocations: 34.61 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/1.371, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.371, allocations: 329.4 kB / 1.017 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/1.372, allocations: 45.61 kB / 1.017 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/1.372, allocations: 94.75 kB / 1.017 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/1.372, allocations: 38.16 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.372, allocations: 8.781 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006806/1.373, allocations: 157.3 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/1.373, allocations: 8 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.373, allocations: 0 / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/1.373, allocations: 4 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/1.373, allocations: 19.17 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.373, allocations: 4 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/1.374, allocations: 44.06 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/1.374, allocations: 12.5 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulOr0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002438/1.374, allocations: 130.9 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/1.374, allocations: 11.81 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/1.375, allocations: 19.5 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/1.375, allocations: 7.984 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/1.375, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.375, allocations: 3.984 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/1.376, allocations: 449 kB / 1.018 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.376, allocations: 4 kB / 1.018 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/1.376, allocations: 9.688 kB / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.376, allocations: 0 / 1.018 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/1.376, allocations: 7.984 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/1.376, allocations: 3.938 kB / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.376, allocations: 3.906 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007322/1.377, allocations: 236.3 kB / 1.018 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009115/1.378, allocations: 0.6103 MB / 1.019 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.378, allocations: 92.42 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.453e-05/1.378, allocations: 0 / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/1.379, allocations: 43.95 kB / 1.019 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.379, allocations: 27.2 kB / 1.019 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/1.379, allocations: 6.875 kB / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001735/1.379, allocations: 113.8 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00241/1.382, allocations: 43.84 kB / 1.019 GB, free: 1.93 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: 20 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003004/1.382, allocations: 107 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006433/1.383, allocations: 132.8 kB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.383, allocations: 0 / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002967/1.383, allocations: 64.94 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/1.384, allocations: 42.12 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/1.385, allocations: 246.2 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004965/1.385, allocations: 0.748 MB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/1.385, allocations: 0 / 1.02 GB, free: 0.6289 MB / 0.6355 GB