Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 253.1 MB / 260.4 MB, free: 7.559 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 181.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 0.5704 GB, free: 14.96 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 92.06 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.317e-05/1.335e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6753/0.8714, allocations: 131.7 MB / 1.017 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.8718, allocations: 81.14 kB / 1.017 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02272/0.8945, allocations: 4.163 MB / 1.021 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8946, allocations: 4 kB / 1.021 GB, free: 3.156 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004825/0.8951, allocations: 342.4 kB / 1.021 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8951, allocations: 8.031 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.8952, allocations: 7.906 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.8954, allocations: 163 kB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8954, allocations: 0 / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.8954, allocations: 0 / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.216e-05/0.8955, allocations: 7.906 kB / 1.021 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.8956, allocations: 45.44 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.8956, allocations: 0 / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8956, allocations: 0 / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8956, allocations: 1.125 kB / 1.021 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.8958, allocations: 130.2 kB / 1.022 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.99e-05/0.8959, allocations: 21.36 kB / 1.022 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.8959, allocations: 4.859 kB / 1.022 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/0.8969, allocations: 465.5 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.897, allocations: 30.56 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.897, allocations: 0 / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0007302/0.8977, allocations: 249.2 kB / 1.022 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8978, allocations: 51.53 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.8979, allocations: 96.69 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.8979, allocations: 25.7 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.898, allocations: 80.14 kB / 1.023 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.898, allocations: 11.75 kB / 1.023 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.898, allocations: 0 / 1.023 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8982, allocations: 318.8 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.8982, allocations: 3.562 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.701e-05/0.8982, allocations: 17.84 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.8983, allocations: 15.88 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.8983, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001711/0.8985, allocations: 45.59 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.8986, allocations: 10.19 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8986, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8986, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.8987, allocations: 8 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8987, allocations: 4.062 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.922e-05/0.8987, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.8988, allocations: 3.812 kB / 1.023 GB, free: 0.7227 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: 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 8.711e-05/0.8989, allocations: 112.9 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.8989, allocations: 7.906 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.8991, allocations: 52.88 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8992, allocations: 4 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.8992, allocations: 4 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.8992, allocations: 0 / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.8994, allocations: 126.2 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.8994, allocations: 4 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.575e-05/0.8995, allocations: 4 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8995, allocations: 0 / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.8995, allocations: 3.906 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8995, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.8995, allocations: 4.531 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000213/0.8998, allocations: 79.56 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.8998, allocations: 85.02 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.8998, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.8999, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.8999, allocations: 3.938 kB / 1.023 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.9, allocations: 7.625 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.428e-05/0.9, allocations: 75.28 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003336/0.9004, allocations: 40.12 kB / 1.024 GB, free: 48 kB / 0.6355 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.0003589/0.9007, allocations: 135.2 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.784e-05/0.9008, allocations: 15.44 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9009, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.9009, allocations: 8 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.901, allocations: 1.688 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.9013, allocations: 75.09 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.9017, allocations: 0.6915 MB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/0.9017, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.004055/0.9058, allocations: 0.8884 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB