Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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 loadModel(Buildings): time 4.156/4.156, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5263/4.683, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/4.939, allocations: 98.71 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/5.202, allocations: 125.3 MB / 0.7506 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/5.202, allocations: 83.59 kB / 0.7507 GB, free: 12.28 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.03131/5.234, allocations: 5.497 MB / 0.7561 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/5.234, allocations: 8 kB / 0.7561 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/5.234, allocations: 75.83 kB / 0.7562 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/5.235, allocations: 171 kB / 0.7563 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/5.235, allocations: 4 kB / 0.7563 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/5.235, allocations: 7.906 kB / 0.7563 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001989/5.235, allocations: 43.92 kB / 0.7564 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/5.235, allocations: 65.66 kB / 0.7564 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/5.235, allocations: 0 / 0.7564 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/5.235, allocations: 0 / 0.7564 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/5.235, allocations: 0 / 0.7564 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008617/5.236, allocations: 313.1 kB / 0.7567 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/5.236, allocations: 45.72 kB / 0.7568 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/5.236, allocations: 24.84 kB / 0.7568 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/5.236, allocations: 3.984 kB / 0.7568 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/5.236, allocations: 38.56 kB / 0.7569 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.103e-06/5.236, allocations: 0 / 0.7569 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0296/5.266, allocations: 2.186 MB / 0.759 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/5.266, allocations: 55.39 kB / 0.759 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/5.266, allocations: 89 kB / 0.7591 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.698e-05/5.266, allocations: 29.7 kB / 0.7592 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/5.266, allocations: 91.98 kB / 0.7592 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/5.267, allocations: 35.45 kB / 0.7593 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/5.267, allocations: 0 / 0.7593 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001237/5.267, allocations: 322.8 kB / 0.7596 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/5.267, allocations: 111.9 kB / 0.7597 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/5.268, allocations: 115.9 kB / 0.7598 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/5.268, allocations: 131.9 kB / 0.7599 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/5.268, allocations: 0 / 0.7599 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0015/5.27, allocations: 329.3 kB / 0.7602 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/5.27, allocations: 10.97 kB / 0.7602 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/5.27, allocations: 0 / 0.7602 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/5.27, allocations: 7.984 kB / 0.7603 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/5.272, allocations: 123.7 kB / 0.7604 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/5.272, allocations: 0 / 0.7604 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/5.273, allocations: 63.94 kB / 0.7604 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/5.274, allocations: 19.94 kB / 0.7605 GB, free: 2.016 MB / 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 (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.000213/5.274, allocations: 116.9 kB / 0.7606 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/5.274, allocations: 0 / 0.7606 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.857e-05/5.274, allocations: 16.05 kB / 0.7606 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/5.274, allocations: 0 / 0.7606 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/5.274, allocations: 8 kB / 0.7606 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/5.274, allocations: 3.938 kB / 0.7606 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/5.277, allocations: 0.8695 MB / 0.7614 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/5.277, allocations: 4 kB / 0.7614 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/5.279, allocations: 135.7 kB / 0.7616 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/5.279, allocations: 0 / 0.7616 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/5.279, allocations: 19.94 kB / 0.7616 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/5.279, allocations: 0 / 0.7616 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/5.279, allocations: 4 kB / 0.7616 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002178/5.281, allocations: 0.585 MB / 0.7622 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002978/5.284, allocations: 1.113 MB / 0.7633 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/5.285, allocations: 116.9 kB / 0.7634 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/5.285, allocations: 0 / 0.7634 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/5.287, allocations: 60 kB / 0.7634 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/5.287, allocations: 27.92 kB / 0.7635 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/5.287, allocations: 27.92 kB / 0.7635 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.281e-05/5.287, allocations: 83.28 kB / 0.7636 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001442/5.289, allocations: 55.91 kB / 0.7636 GB, free: 14.62 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.0003182/5.289, allocations: 119.1 kB / 0.7637 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001046/5.29, allocations: 259.8 kB / 0.764 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/5.29, allocations: 4 kB / 0.764 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005756/5.291, allocations: 151.8 kB / 0.7641 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/5.291, allocations: 6.75 kB / 0.7641 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/5.301, allocations: 0.8002 MB / 0.7649 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/5.302, allocations: 0.8244 MB / 0.7657 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/5.302, allocations: 0 / 0.7657 GB, free: 12.41 MB / 0.6511 GB