Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.882/2.882, allocations: 248.6 MB / 255.9 MB, free: 7.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00243/0.00243, allocations: 184.4 kB / 315.1 MB, free: 4.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.1 MB / 0.5658 GB, free: 332 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001864/0.001865, allocations: 105.6 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5465/0.5484, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.818, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8155/1.634, allocations: 132.5 MB / 1.013 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/1.634, allocations: 77.95 kB / 1.013 GB, free: 7.586 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.02576/1.66, allocations: 4.12 MB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/1.66, allocations: 8 kB / 1.017 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009629/1.661, allocations: 75.23 kB / 1.017 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/1.661, allocations: 167 kB / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.647e-05/1.661, allocations: 4 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/1.661, allocations: 7.906 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001752/1.661, allocations: 15.44 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/1.662, allocations: 52.53 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.662, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/1.662, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/1.662, allocations: 4 kB / 1.017 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/1.662, allocations: 138.1 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/1.663, allocations: 56.89 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/1.663, allocations: 32.8 kB / 1.018 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/1.663, allocations: 84.67 kB / 1.018 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.663, allocations: 34.56 kB / 1.018 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 5.15e-06/1.663, allocations: 0 / 1.018 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.003245/1.666, allocations: 441.8 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/1.666, allocations: 51.41 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/1.667, allocations: 93 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/1.667, allocations: 25.7 kB / 1.018 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/1.667, allocations: 80.14 kB / 1.018 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/1.667, allocations: 18.98 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.667, allocations: 0 / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.667, allocations: 318 kB / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/1.667, allocations: 11.75 kB / 1.019 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.628e-05/1.667, allocations: 11.94 kB / 1.019 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/1.668, allocations: 71.77 kB / 1.019 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.668, allocations: 3.906 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001061/1.669, allocations: 119.3 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/1.669, allocations: 9.344 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.669, allocations: 0 / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.669, allocations: 4 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/1.669, allocations: 31.97 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.669, allocations: 0 / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/1.669, allocations: 15.98 kB / 1.019 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/1.669, allocations: 0 / 1.019 GB, free: 1.965 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.0001663/1.67, allocations: 104.9 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/1.67, allocations: 8 kB / 1.019 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009296/1.671, allocations: 150.6 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/1.671, allocations: 0 / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.671, allocations: 4.25 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.671, allocations: 0 / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/1.671, allocations: 146 kB / 1.019 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.671, allocations: 4 kB / 1.019 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/1.671, allocations: 31.97 kB / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/1.671, allocations: 0 / 1.019 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.671, allocations: 7.938 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.671, allocations: 3.984 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.671, allocations: 0 / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001114/1.672, allocations: 173 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001619/1.674, allocations: 0.5653 MB / 1.02 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/1.674, allocations: 85.09 kB / 1.02 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/1.674, allocations: 7.891 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/1.675, allocations: 15.98 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/1.675, allocations: 4.062 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/1.675, allocations: 7.875 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.104e-05/1.675, allocations: 75.28 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002017/1.677, allocations: 43.92 kB / 1.02 GB, free: 0.5117 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.00055/1.678, allocations: 131.2 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002822/1.678, allocations: 42.11 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.678, allocations: 0 / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/1.678, allocations: 19.84 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/1.678, allocations: 4 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.679, allocations: 143.1 kB / 1.021 GB, free: 168 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/1.68, allocations: 0.7036 MB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of SimCode: time 4.158e-06/1.68, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB