Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.OnOffController,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.35/2.35, allocations: 248.6 MB / 255.9 MB, free: 7.129 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.002939/0.002939, allocations: 183.7 kB / 315.1 MB, free: 4.289 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.111/2.111, allocations: 205.1 MB / 0.5658 GB, free: 388 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.001335/0.001335, allocations: 94.58 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5298/0.5312, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.7442, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6852/1.429, allocations: 131.7 MB / 1.012 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.43, allocations: 71.33 kB / 1.012 GB, free: 8.449 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.005384/1.435, allocations: 1.044 MB / 1.013 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.435, allocations: 12 kB / 1.013 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/1.435, allocations: 7.906 kB / 1.013 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/1.436, allocations: 171 kB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/1.436, allocations: 0 / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.436, allocations: 0 / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001352/1.436, allocations: 19.56 kB / 1.013 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.436, allocations: 55.27 kB / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.436, allocations: 0 / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.436, allocations: 0 / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.436, allocations: 0 / 1.013 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007304/1.437, allocations: 285.8 kB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/1.437, allocations: 38.08 kB / 1.014 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/1.437, allocations: 12.55 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/1.437, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.437, allocations: 34.56 kB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/1.437, allocations: 0 / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002182/1.437, allocations: 52.75 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/1.437, allocations: 59.28 kB / 1.014 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/1.438, allocations: 93.53 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/1.438, allocations: 31.58 kB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/1.438, allocations: 84.14 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/1.438, allocations: 7.719 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/1.438, allocations: 0 / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.438, allocations: 322.7 kB / 1.014 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/1.438, allocations: 11.44 kB / 1.014 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/1.438, allocations: 8.438 kB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/1.438, allocations: 6.875 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.438, allocations: 0 / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/1.438, allocations: 52.25 kB / 1.014 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.438, allocations: 4 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.438, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.438, allocations: 3.906 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.438, allocations: 23.92 kB / 1.015 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.438, allocations: 4.25 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/1.439, allocations: 22.11 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/1.439, allocations: 4 kB / 1.015 GB, free: 5.969 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.038e-05/1.439, allocations: 101 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/1.439, allocations: 7.906 kB / 1.015 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/1.439, allocations: 52.92 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.439, allocations: 4 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.439, allocations: 0 / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/1.439, allocations: 0 / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/1.439, allocations: 156.5 kB / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.439, allocations: 0 / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/1.44, allocations: 19.89 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.44, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.44, allocations: 0 / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/1.44, allocations: 7.922 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.44, allocations: 0 / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001944/1.44, allocations: 146.9 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000315/1.44, allocations: 0.5173 MB / 1.016 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/1.44, allocations: 81.11 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/1.44, allocations: 3.984 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/1.441, allocations: 28.23 kB / 1.016 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/1.441, allocations: 3.984 kB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.441, allocations: 4 kB / 1.016 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.996e-05/1.441, allocations: 90.75 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001736/1.443, allocations: 4 kB / 1.016 GB, free: 4.684 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002467/1.443, allocations: 107.2 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002127/1.443, allocations: 19.12 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.443, allocations: 0 / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/1.443, allocations: 11.56 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.444, allocations: 4 kB / 1.016 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/1.444, allocations: 86.55 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/1.445, allocations: 0.6915 MB / 1.017 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/1.445, allocations: 4 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB