Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.276/2.276, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001614/0.001614, allocations: 188.3 kB / 315.1 MB, free: 4.227 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.066/2.066, allocations: 205.1 MB / 0.5658 GB, free: 328 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.001459/0.001459, allocations: 98.81 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5143/0.5158, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.7492, allocations: 106.2 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6901/1.439, allocations: 131.8 MB / 1.012 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.44, allocations: 72.02 kB / 1.012 GB, free: 8.359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.005992/1.446, allocations: 1.209 MB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.446, allocations: 15.94 kB / 1.013 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/1.446, allocations: 3.906 kB / 1.013 GB, free: 7.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/1.446, allocations: 178.9 kB / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/1.446, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/1.446, allocations: 4 kB / 1.014 GB, free: 6.984 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/1.446, allocations: 26.36 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.446, allocations: 52.75 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.446, allocations: 0 / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.446, allocations: 0 / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.447, allocations: 3.906 kB / 1.014 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/1.447, allocations: 272.4 kB / 1.014 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/1.447, allocations: 35.88 kB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/1.447, allocations: 23.8 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/1.447, allocations: 0 / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/1.447, allocations: 57.84 kB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.694e-06/1.447, allocations: 6.625 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002425/1.448, allocations: 67.41 kB / 1.014 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/1.448, allocations: 51.41 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/1.448, allocations: 108.6 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/1.448, allocations: 25.7 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/1.448, allocations: 87.38 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/1.448, allocations: 11.81 kB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.448, allocations: 0 / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.448, allocations: 322.2 kB / 1.015 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/1.448, allocations: 18.38 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/1.448, allocations: 28.22 kB / 1.015 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/1.448, allocations: 7.75 kB / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.448, allocations: 0 / 1.015 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001854/1.449, allocations: 75.78 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.449, allocations: 4 kB / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.449, allocations: 0 / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/1.449, allocations: 32 / 1.015 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/1.449, allocations: 31.97 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.449, allocations: 0 / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/1.449, allocations: 35.3 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/1.449, allocations: 0.75 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001016/1.449, allocations: 123 kB / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/1.449, allocations: 0 / 1.015 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/1.449, allocations: 19.59 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.449, allocations: 3.938 kB / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.449, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.449, allocations: 0 / 1.015 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/1.45, allocations: 156.2 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.45, allocations: 0.875 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/1.45, allocations: 27.97 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/1.45, allocations: 0 / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/1.45, allocations: 4 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.45, allocations: 3.906 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.45, allocations: 0 / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002638/1.45, allocations: 92.17 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000361/1.451, allocations: 481.7 kB / 1.016 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/1.451, allocations: 88.39 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/1.451, allocations: 3.984 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/1.451, allocations: 23.98 kB / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/1.451, allocations: 7.984 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.451, allocations: 4 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.332e-05/1.451, allocations: 93.52 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001071/1.452, allocations: 11.91 kB / 1.016 GB, free: 4.477 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001447/1.452, allocations: 95.25 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001871/1.453, allocations: 49.5 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.453, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.912e-05/1.453, allocations: 18.38 kB / 1.016 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/1.453, allocations: 11.98 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/1.454, allocations: 102 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.454, allocations: 0.7082 MB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of SimCode: time 2.715e-06/1.454, allocations: 3.938 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB