Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.448/2.448, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001684/0.001684, allocations: 183.4 kB / 315.1 MB, free: 4.293 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.072/2.072, allocations: 205.2 MB / 0.5658 GB, free: 352 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.001354/0.001354, allocations: 92.81 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.516/0.5174, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.782, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.678/1.46, allocations: 131.8 MB / 1.012 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/1.461, allocations: 66.59 kB / 1.012 GB, free: 8.402 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.01302/1.474, allocations: 2.362 MB / 1.015 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/1.474, allocations: 8 kB / 1.015 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/1.474, allocations: 23.8 kB / 1.015 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/1.474, allocations: 220.5 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.474, allocations: 4 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/1.474, allocations: 12 kB / 1.015 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003276/1.475, allocations: 90.97 kB / 1.015 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/1.475, allocations: 142.6 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.475, allocations: 0 / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.475, allocations: 3.938 kB / 1.015 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/1.475, allocations: 7.984 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/1.477, allocations: 0.5634 MB / 1.016 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/1.477, allocations: 207 kB / 1.016 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/1.477, allocations: 49.97 kB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/1.477, allocations: 0 / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/1.478, allocations: 107.1 kB / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.725e-06/1.478, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004265/1.478, allocations: 145 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/1.478, allocations: 55.41 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/1.478, allocations: 158.6 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.478, allocations: 25.7 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/1.478, allocations: 111.4 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.274e-05/1.478, allocations: 38.41 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/1.478, allocations: 0 / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.479, allocations: 330.5 kB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.479, allocations: 49.8 kB / 1.017 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/1.479, allocations: 91.78 kB / 1.017 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/1.479, allocations: 39.28 kB / 1.017 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.479, allocations: 4 kB / 1.017 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004268/1.48, allocations: 165.8 kB / 1.017 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.48, allocations: 4 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.48, allocations: 0 / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.48, allocations: 4 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/1.48, allocations: 19.92 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.48, allocations: 0 / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/1.48, allocations: 52 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/1.48, allocations: 11.56 kB / 1.017 GB, free: 3.668 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,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.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,mulAnd0.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.000149/1.48, allocations: 122.6 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/1.481, allocations: 19.8 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/1.481, allocations: 15.75 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.481, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.481, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.481, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/1.482, allocations: 458.8 kB / 1.018 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/1.482, allocations: 0 / 1.018 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/1.482, allocations: 3.938 kB / 1.018 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.482, allocations: 4 kB / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/1.482, allocations: 0 / 1.018 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.482, allocations: 3.984 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.482, allocations: 7.891 kB / 1.018 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003869/1.482, allocations: 253.1 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005638/1.483, allocations: 0.6064 MB / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/1.483, allocations: 92.91 kB / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/1.483, allocations: 0 / 1.019 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/1.483, allocations: 43.14 kB / 1.019 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.483, allocations: 27.27 kB / 1.019 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.483, allocations: 12 kB / 1.019 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001223/1.483, allocations: 114.3 kB / 1.019 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001884/1.485, allocations: 31.91 kB / 1.019 GB, free: 1.914 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 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0002715/1.486, allocations: 110.5 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005738/1.486, allocations: 127.9 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.486, allocations: 384 / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/1.487, allocations: 77.05 kB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/1.487, allocations: 27.41 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.489, allocations: 247 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006582/1.489, allocations: 0.7471 MB / 1.02 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/1.489, allocations: 0 / 1.02 GB, free: 0.6172 MB / 0.6355 GB