Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [: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.111/2.111, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001625/0.001625, allocations: 181.2 kB / 319.6 MB, free: 3.305 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.979/1.979, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.00139/0.00139, allocations: 87.33 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.129e-05/1.146e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1963, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6267/0.8231, allocations: 132.5 MB / 1.017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.8234, allocations: 72.89 kB / 1.018 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02172/0.8452, allocations: 3.762 MB / 1.021 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.8452, allocations: 0 / 1.021 GB, free: 2.695 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005987/0.8459, allocations: 365.3 kB / 1.022 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.8459, allocations: 8.031 kB / 1.022 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.8466, allocations: 71.92 kB / 1.022 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.8468, allocations: 163 kB / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.8468, allocations: 0 / 1.022 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.8469, allocations: 7.906 kB / 1.022 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/0.847, allocations: 19.67 kB / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.8472, allocations: 52.8 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.8472, allocations: 0 / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.8472, allocations: 3.938 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.8472, allocations: 0 / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.8474, allocations: 141.7 kB / 1.022 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.8478, allocations: 57.89 kB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.287e-05/0.8479, allocations: 21.08 kB / 1.022 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.848, allocations: 93.09 kB / 1.022 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.8481, allocations: 30.56 kB / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.8481, allocations: 0 / 1.022 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002198/0.8503, allocations: 439.8 kB / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8504, allocations: 54.72 kB / 1.023 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.8505, allocations: 92.98 kB / 1.023 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.8505, allocations: 25.7 kB / 1.023 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.8506, allocations: 80.14 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.8507, allocations: 18.81 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.8507, allocations: 0 / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8509, allocations: 318.9 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.851, allocations: 15.73 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.851, allocations: 11.88 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.8516, allocations: 67.28 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8516, allocations: 7.906 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006775/0.8523, allocations: 124.3 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.8523, allocations: 8 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8524, allocations: 0 / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.8524, allocations: 0 / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.8527, allocations: 31.97 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.8527, allocations: 0 / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.853, allocations: 19.98 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.853, allocations: 0 / 1.023 GB, free: 212 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 (6): * Single equations (assignments): 6 * 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.000125/0.8531, allocations: 111.6 kB / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.8532, allocations: 0 / 1.024 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008946/0.8541, allocations: 148.9 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.8541, allocations: 3.938 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.8541, allocations: 0 / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.8541, allocations: 0 / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.8543, allocations: 149.6 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.8543, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.8547, allocations: 35.97 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.8547, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.8547, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8547, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8548, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008239/0.8556, allocations: 173.7 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.8557, allocations: 89 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.8558, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.8561, allocations: 20.23 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.8562, allocations: 7.359 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.8562, allocations: 8 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.844e-05/0.8563, allocations: 83.16 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007324/0.8571, allocations: 40.03 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005086/0.8576, allocations: 143.2 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.858, allocations: 34.44 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.858, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.8581, allocations: 19.5 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.8584, allocations: 5.875 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.8597, allocations: 140.5 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.8604, allocations: 0.7036 MB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.993e-06/0.8604, allocations: 4 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.008735/0.8691, allocations: 1.298 MB / 1.027 GB, free: 12.94 MB / 0.6511 GB