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.InverseXDerivativeCheck.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.InverseXDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",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.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5382/4.694, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/4.943, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/5.209, allocations: 124.5 MB / 0.7499 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/5.21, allocations: 79.58 kB / 0.75 GB, free: 13 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.02249/5.232, allocations: 4.083 MB / 0.754 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/5.232, allocations: 8 kB / 0.754 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/5.233, allocations: 79.86 kB / 0.754 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/5.233, allocations: 163.1 kB / 0.7542 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/5.233, allocations: 7.906 kB / 0.7542 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/5.233, allocations: 0 / 0.7542 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/5.233, allocations: 20 kB / 0.7542 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/5.233, allocations: 49.66 kB / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/5.233, allocations: 0 / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/5.233, allocations: 0 / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/5.233, allocations: 0 / 0.7543 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/5.234, allocations: 146.1 kB / 0.7544 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/5.234, allocations: 58.59 kB / 0.7545 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/5.234, allocations: 28.94 kB / 0.7545 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/5.234, allocations: 85.11 kB / 0.7546 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/5.234, allocations: 30.56 kB / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/5.234, allocations: 0 / 0.7546 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.002183/5.237, allocations: 442 kB / 0.755 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/5.237, allocations: 51.41 kB / 0.7551 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/5.237, allocations: 89 kB / 0.7552 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/5.237, allocations: 25.7 kB / 0.7552 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/5.237, allocations: 80.14 kB / 0.7553 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/5.237, allocations: 19.8 kB / 0.7553 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/5.237, allocations: 128 / 0.7553 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000179/5.237, allocations: 318.8 kB / 0.7556 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/5.237, allocations: 13.44 kB / 0.7556 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.738e-05/5.237, allocations: 12 kB / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000524/5.238, allocations: 71.83 kB / 0.7557 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/5.238, allocations: 4 kB / 0.7557 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006716/5.238, allocations: 117.6 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/5.238, allocations: 8 kB / 0.7558 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/5.238, allocations: 0 / 0.7558 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/5.239, allocations: 7.875 kB / 0.7558 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/5.239, allocations: 31.97 kB / 0.7558 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/5.239, allocations: 0 / 0.7558 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/5.239, allocations: 20.23 kB / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/5.239, allocations: 0 / 0.7559 GB, free: 6.707 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 (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.0001019/5.239, allocations: 108.9 kB / 0.756 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/5.239, allocations: 4 kB / 0.756 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008686/5.24, allocations: 145.3 kB / 0.7561 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/5.24, allocations: 0 / 0.7561 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/5.24, allocations: 3.906 kB / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/5.24, allocations: 0 / 0.7561 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/5.24, allocations: 154.1 kB / 0.7563 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/5.24, allocations: 4 kB / 0.7563 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/5.241, allocations: 27.97 kB / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/5.241, allocations: 0 / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/5.241, allocations: 0 / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/5.241, allocations: 0 / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.241, allocations: 0 / 0.7563 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000809/5.242, allocations: 172.9 kB / 0.7565 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001009/5.243, allocations: 0.5639 MB / 0.757 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/5.243, allocations: 93.06 kB / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/5.243, allocations: 0 / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/5.243, allocations: 20.05 kB / 0.7571 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/5.243, allocations: 4 kB / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/5.243, allocations: 0 / 0.7571 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.002e-05/5.243, allocations: 83.27 kB / 0.7572 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001152/5.244, allocations: 43.88 kB / 0.7572 GB, free: 5.188 MB / 0.6355 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.0003156/5.245, allocations: 143.2 kB / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002025/5.245, allocations: 44.11 kB / 0.7574 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/5.245, allocations: 0 / 0.7574 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/5.245, allocations: 16 kB / 0.7574 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/5.245, allocations: 4 kB / 0.7574 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008212/5.246, allocations: 144 kB / 0.7576 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/5.246, allocations: 0.7152 MB / 0.7583 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/5.246, allocations: 0 / 0.7583 GB, free: 4.066 MB / 0.6355 GB