Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") [: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.195/2.195, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.002166/0.002166, allocations: 177.2 kB / 319.6 MB, free: 3.328 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.994/1.994, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001229/0.001229, allocations: 79.45 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.477e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1899, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7255/0.9154, allocations: 132.9 MB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.9158, allocations: 79.56 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02906/0.9449, allocations: 3.486 MB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.945, allocations: 0 / 1.021 GB, free: 2.457 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008827/0.9459, allocations: 389.9 kB / 1.022 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.946, allocations: 8.031 kB / 1.022 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000964/0.947, allocations: 67.92 kB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.9472, allocations: 167 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.9472, allocations: 4 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.9473, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002109/0.9475, allocations: 25.36 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.9477, allocations: 48.25 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.9477, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.9478, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.9478, allocations: 0 / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008553/0.9487, allocations: 272 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.9489, allocations: 41.14 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/0.949, allocations: 16.8 kB / 1.022 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.949, allocations: 4 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.9491, allocations: 38.55 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.32e-06/0.9491, allocations: 0 / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0006152/0.9497, allocations: 76.27 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.9498, allocations: 51.41 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.9499, allocations: 96.61 kB / 1.023 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.95, allocations: 33.67 kB / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.9501, allocations: 80.14 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.9501, allocations: 11.84 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.9501, allocations: 0 / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.9503, allocations: 314.8 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.9504, allocations: 11.88 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.501e-05/0.9505, allocations: 11.92 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.9508, allocations: 31.72 kB / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9509, allocations: 0 / 1.023 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004953/0.9514, allocations: 76.28 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.9514, allocations: 10.09 kB / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9514, allocations: 0 / 1.023 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.9515, allocations: 4 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.9519, allocations: 32 kB / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.9519, allocations: 0 / 1.023 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.9523, allocations: 23.98 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.9523, allocations: 4 kB / 1.023 GB, free: 444 kB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000118/0.9525, allocations: 105 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.9526, allocations: 4.781 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.9526, allocations: 11.27 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.9526, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9527, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9527, allocations: 0 / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.953, allocations: 145 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.953, allocations: 3.984 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.9534, allocations: 32.58 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.9535, allocations: 0 / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.9535, allocations: 7.922 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.9535, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.9535, allocations: 0 / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006144/0.9542, allocations: 180.5 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.9542, allocations: 77.11 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.9543, allocations: 4 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.9547, allocations: 32 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.9548, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.9549, allocations: 3.984 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.575e-05/0.9549, allocations: 82.34 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000599/0.9556, allocations: 16 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003306/0.9559, allocations: 111.2 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.9562, allocations: 30.94 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9562, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.9563, allocations: 23.11 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.9567, allocations: 7.844 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.9576, allocations: 110.8 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.9581, allocations: 0.6985 MB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/0.9581, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.00579/0.9639, allocations: 0.9374 MB / 1.026 GB, free: 13.75 MB / 0.6511 GB