Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.78/2.78, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003018/0.003018, allocations: 184.2 kB / 315.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.649/3.649, allocations: 205.1 MB / 0.5658 GB, free: 25.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 89.98 kB / 0.67 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3877/0.3892, allocations: 112.4 MB / 0.7797 GB, free: 2.441 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/1.004, allocations: 106.2 MB / 0.8835 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3135/1.318, allocations: 130.7 MB / 1.011 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004568/1.318, allocations: 79.94 kB / 1.011 GB, free: 10.27 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.03023/1.349, allocations: 4.508 MB / 1.016 GB, free: 5.715 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.349, allocations: 8 kB / 1.016 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/1.349, allocations: 7.906 kB / 1.016 GB, free: 5.699 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/1.349, allocations: 163.1 kB / 1.016 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.349, allocations: 0 / 1.016 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/1.349, allocations: 0 / 1.016 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.943e-05/1.349, allocations: 4 kB / 1.016 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/1.349, allocations: 33.61 kB / 1.016 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/1.349, allocations: 3.938 kB / 1.016 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.349, allocations: 4 kB / 1.016 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.349, allocations: 0 / 1.016 GB, free: 5.449 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/1.35, allocations: 134.2 kB / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.316e-05/1.35, allocations: 22.55 kB / 1.016 GB, free: 5.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/1.35, allocations: 4.859 kB / 1.016 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/1.351, allocations: 473.5 kB / 1.016 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/1.351, allocations: 30.56 kB / 1.016 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 3.797e-06/1.351, allocations: 0 / 1.016 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0008465/1.352, allocations: 242.3 kB / 1.017 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/1.352, allocations: 51.41 kB / 1.017 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/1.352, allocations: 93.12 kB / 1.017 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.352, allocations: 29.7 kB / 1.017 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/1.352, allocations: 80.14 kB / 1.017 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/1.352, allocations: 11.8 kB / 1.017 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.352, allocations: 0 / 1.017 GB, free: 4.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.353, allocations: 310.8 kB / 1.017 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/1.353, allocations: 8 kB / 1.017 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/1.353, allocations: 13.72 kB / 1.017 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/1.353, allocations: 12.12 kB / 1.017 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.353, allocations: 7.984 kB / 1.017 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001817/1.353, allocations: 41.64 kB / 1.017 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.353, allocations: 11.91 kB / 1.017 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.353, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.353, allocations: 0 / 1.017 GB, free: 3.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/1.353, allocations: 7.984 kB / 1.017 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.353, allocations: 7.984 kB / 1.017 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/1.353, allocations: 4.062 kB / 1.017 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.353, allocations: 0 / 1.017 GB, free: 3.633 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.194e-05/1.353, allocations: 105 kB / 1.017 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/1.353, allocations: 7.906 kB / 1.017 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/1.354, allocations: 53.31 kB / 1.018 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.354, allocations: 0 / 1.018 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.354, allocations: 4 kB / 1.018 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.354, allocations: 4.188 kB / 1.018 GB, free: 3.449 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/1.354, allocations: 130.2 kB / 1.018 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.354, allocations: 3.938 kB / 1.018 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.354, allocations: 15.97 kB / 1.018 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/1.354, allocations: 3.938 kB / 1.018 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-06/1.354, allocations: 0 / 1.018 GB, free: 3.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.354, allocations: 3.906 kB / 1.018 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.354, allocations: 0 / 1.018 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00028/1.354, allocations: 77.12 kB / 1.018 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003713/1.355, allocations: 465.8 kB / 1.018 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/1.355, allocations: 77.2 kB / 1.018 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/1.355, allocations: 7.891 kB / 1.018 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/1.355, allocations: 0 / 1.018 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/1.355, allocations: 4 kB / 1.018 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/1.355, allocations: 4.125 kB / 1.018 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.931e-05/1.355, allocations: 79.28 kB / 1.018 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001158/1.356, allocations: 39.92 kB / 1.018 GB, free: 2.461 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.000347/1.357, allocations: 135.2 kB / 1.019 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001344/1.357, allocations: 19.94 kB / 1.019 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.357, allocations: 0 / 1.019 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/1.357, allocations: 4 kB / 1.019 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/1.357, allocations: 5.156 kB / 1.019 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/1.357, allocations: 82.34 kB / 1.019 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.358, allocations: 0.6876 MB / 1.019 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of SimCode: time 1.363e-06/1.358, allocations: 0 / 1.019 GB, free: 1.477 MB / 0.6667 GB