Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_InverseXRegularized",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 3.969/3.969, allocations: 433 MB / 440.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5776/4.547, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/4.799, allocations: 98.72 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2335/5.033, allocations: 124.9 MB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/5.033, allocations: 71.61 kB / 0.7503 GB, free: 12.62 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.02154/5.055, allocations: 3.826 MB / 0.754 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/5.055, allocations: 8 kB / 0.754 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/5.055, allocations: 67.92 kB / 0.7541 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/5.056, allocations: 174.9 kB / 0.7543 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/5.056, allocations: 0 / 0.7543 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/5.056, allocations: 4 kB / 0.7543 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001409/5.056, allocations: 24 kB / 0.7543 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/5.056, allocations: 45.67 kB / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/5.056, allocations: 0 / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/5.056, allocations: 0 / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/5.056, allocations: 0 / 0.7544 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/5.057, allocations: 273.4 kB / 0.7546 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/5.057, allocations: 38.52 kB / 0.7546 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/5.057, allocations: 20.92 kB / 0.7547 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/5.057, allocations: 7.984 kB / 0.7547 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/5.057, allocations: 34.56 kB / 0.7547 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/5.057, allocations: 0 / 0.7547 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004605/5.057, allocations: 73.56 kB / 0.7548 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/5.057, allocations: 51.41 kB / 0.7548 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/5.058, allocations: 96.98 kB / 0.7549 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/5.058, allocations: 25.7 kB / 0.7549 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/5.058, allocations: 84.17 kB / 0.755 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/5.058, allocations: 7.906 kB / 0.755 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/5.058, allocations: 0 / 0.755 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000116/5.058, allocations: 314.8 kB / 0.7553 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.494e-05/5.058, allocations: 11.94 kB / 0.7553 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/5.058, allocations: 12 kB / 0.7554 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/5.058, allocations: 39.95 kB / 0.7554 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/5.058, allocations: 0 / 0.7554 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003443/5.059, allocations: 69.58 kB / 0.7555 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/5.059, allocations: 7.984 kB / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/5.059, allocations: 256 / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/5.059, allocations: 0 / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/5.059, allocations: 40 kB / 0.7555 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/5.059, allocations: 0 / 0.7555 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/5.059, allocations: 23.98 kB / 0.7555 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/5.059, allocations: 3.938 kB / 0.7555 GB, free: 7.059 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 (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 8.724e-05/5.059, allocations: 109 kB / 0.7556 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/5.059, allocations: 3.906 kB / 0.7556 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/5.059, allocations: 7.297 kB / 0.7556 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/5.059, allocations: 4 kB / 0.7557 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/5.06, allocations: 4 kB / 0.7557 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/5.06, allocations: 0 / 0.7557 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/5.06, allocations: 154.1 kB / 0.7558 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/5.06, allocations: 3.938 kB / 0.7558 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/5.06, allocations: 31.97 kB / 0.7558 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/5.06, allocations: 0 / 0.7558 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/5.06, allocations: 0 / 0.7558 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/5.06, allocations: 3.984 kB / 0.7558 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.06, allocations: 0 / 0.7558 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004276/5.061, allocations: 172.9 kB / 0.756 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005268/5.061, allocations: 0.5351 MB / 0.7565 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/5.061, allocations: 84.95 kB / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/5.061, allocations: 0 / 0.7566 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/5.062, allocations: 28.03 kB / 0.7566 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/5.062, allocations: 4 kB / 0.7566 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/5.062, allocations: 4 kB / 0.7566 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.204e-05/5.062, allocations: 79.28 kB / 0.7567 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001175/5.063, allocations: 23.89 kB / 0.7567 GB, free: 5.727 MB / 0.6355 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.0002223/5.063, allocations: 111.2 kB / 0.7568 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001769/5.063, allocations: 28 kB / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/5.063, allocations: 0 / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-05/5.063, allocations: 15.98 kB / 0.7569 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/5.064, allocations: 7.219 kB / 0.7569 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/5.064, allocations: 115.8 kB / 0.757 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003734/5.065, allocations: 0.6958 MB / 0.7577 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/5.065, allocations: 7.938 kB / 0.7577 GB, free: 4.691 MB / 0.6355 GB