Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.OffTimer.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.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_OffTimer",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.4/2.4, allocations: 248.6 MB / 255.9 MB, free: 7.18 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.001581/0.001581, allocations: 192.2 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 1.916/1.916, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001244/0.001244, allocations: 89.69 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4894/0.4907, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.7164, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6977/1.414, allocations: 132.4 MB / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.415, allocations: 73.33 kB / 1.013 GB, free: 7.742 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.004965/1.42, allocations: 1.134 MB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.42, allocations: 8 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/1.42, allocations: 11.91 kB / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/1.42, allocations: 167 kB / 1.014 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/1.42, allocations: 3.984 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/1.42, allocations: 7.938 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/1.42, allocations: 22.59 kB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/1.42, allocations: 45.62 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.42, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/1.42, allocations: 4 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/1.42, allocations: 0 / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/1.421, allocations: 271.2 kB / 1.014 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/1.421, allocations: 56.12 kB / 1.015 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/1.421, allocations: 26.95 kB / 1.015 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/1.421, allocations: 0 / 1.015 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/1.421, allocations: 62.75 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/1.421, allocations: 0 / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002454/1.422, allocations: 67.84 kB / 1.015 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/1.422, allocations: 55.41 kB / 1.015 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/1.422, allocations: 100.3 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.422, allocations: 29.7 kB / 1.015 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/1.422, allocations: 95.44 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/1.422, allocations: 23.27 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/1.422, allocations: 96 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.422, allocations: 318.5 kB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/1.422, allocations: 11.56 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.451e-05/1.422, allocations: 38.56 kB / 1.015 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/1.422, allocations: 23.8 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.422, allocations: 0 / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002006/1.423, allocations: 88 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.423, allocations: 4 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.423, allocations: 7.938 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.423, allocations: 0 / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/1.423, allocations: 16.38 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/1.423, allocations: 0 / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/1.423, allocations: 16.02 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/1.423, allocations: 4 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001026/1.423, allocations: 113.7 kB / 1.016 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/1.423, allocations: 0 / 1.016 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/1.423, allocations: 11.59 kB / 1.016 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.423, allocations: 7.984 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.423, allocations: 3.688 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.423, allocations: 0 / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/1.424, allocations: 322.9 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.424, allocations: 0 / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/1.424, allocations: 7.938 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.424, allocations: 3.984 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/1.424, allocations: 4 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.424, allocations: 0 / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.424, allocations: 0 / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/1.424, allocations: 169.2 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003442/1.424, allocations: 0.5375 MB / 1.017 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/1.424, allocations: 85.02 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/1.425, allocations: 0 / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.425, allocations: 11.98 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.263e-05/1.425, allocations: 11.92 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.425, allocations: 3.312 kB / 1.017 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.672e-05/1.425, allocations: 79.28 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001202/1.426, allocations: 12 kB / 1.017 GB, free: 3.668 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001499/1.426, allocations: 98.25 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001929/1.426, allocations: 49.23 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.426, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/1.427, allocations: 27.11 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/1.427, allocations: 11.84 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/1.427, allocations: 118.8 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/1.428, allocations: 0.7035 MB / 1.018 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.428, allocations: 0 / 1.018 GB, free: 2.633 MB / 0.6355 GB