Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.182/2.182, allocations: 253.1 MB / 260.4 MB, free: 7.613 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.001681/0.001681, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.897/1.897, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001323/0.001323, allocations: 94.52 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.179e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6394/0.8405, allocations: 131.9 MB / 1.017 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.8409, allocations: 78.69 kB / 1.017 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05265/0.8935, allocations: 4.687 MB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.8936, allocations: 0 / 1.021 GB, free: 2.582 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.0005787/0.8942, allocations: 361.5 kB / 1.022 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.8943, allocations: 8.031 kB / 1.022 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.8944, allocations: 9.125 kB / 1.022 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.8946, allocations: 178.3 kB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.8946, allocations: 4 kB / 1.022 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.8947, allocations: 3.984 kB / 1.022 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001162/0.8948, allocations: 19.3 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.8949, allocations: 40.77 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.895, allocations: 0 / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.895, allocations: 3.984 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.895, allocations: 0 / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.8953, allocations: 140.9 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.8954, allocations: 42.03 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.162e-05/0.8955, allocations: 23.42 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.8969, allocations: 465.4 kB / 1.023 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.897, allocations: 30.56 kB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 5.981e-06/0.897, allocations: 4 kB / 1.023 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001994/0.899, allocations: 0.5231 MB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.8991, allocations: 51.41 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.8992, allocations: 89 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.8992, allocations: 25.7 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.8993, allocations: 82.83 kB / 1.024 GB, free: 224 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.8994, allocations: 42.7 kB / 1.024 GB, free: 184 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.9142, allocations: 0 / 1.024 GB, free: 184 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.9144, allocations: 321.1 kB / 1.024 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.9145, allocations: 14.75 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.31e-05/0.9146, allocations: 18.25 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.9148, allocations: 22.44 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.9149, allocations: 3.906 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004404/0.9153, allocations: 88.11 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.9153, allocations: 8 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.9154, allocations: 4 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.9154, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.9157, allocations: 23.92 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.9157, allocations: 7.906 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.9158, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.9158, allocations: 0 / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001249/0.916, allocations: 105.4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.916, allocations: 3.906 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.9165, allocations: 101.3 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.9166, allocations: 7.984 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.9166, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9166, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.9173, allocations: 316.4 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9174, allocations: 0 / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.9177, allocations: 27.98 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.9177, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.9177, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.9177, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9178, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005566/0.9183, allocations: 220.6 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.9184, allocations: 92.69 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.9185, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.9187, allocations: 0 / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.9188, allocations: 11.97 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.9188, allocations: 4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.039e-05/0.9188, allocations: 78.84 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01133/0.9302, allocations: 63.89 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005208/0.9308, allocations: 147.1 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.9311, allocations: 66.92 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9311, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.9312, allocations: 34.42 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.9315, allocations: 2.422 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.9321, allocations: 125.6 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.9327, allocations: 0.6997 MB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.9327, allocations: 4 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of Templates: time 0.006107/0.9388, allocations: 1.462 MB / 1.028 GB, free: 12.12 MB / 0.6511 GB