Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.435/2.435, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.001623/0.001623, allocations: 190.5 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001248/0.001247, allocations: 86.62 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4364/0.4377, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.6295, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6459/1.275, allocations: 132.9 MB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.276, allocations: 78.94 kB / 1.013 GB, free: 7.266 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.02082/1.297, allocations: 3.87 MB / 1.017 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.297, allocations: 8 kB / 1.017 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/1.297, allocations: 72.67 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.298, allocations: 163 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/1.298, allocations: 0 / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/1.298, allocations: 4 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/1.298, allocations: 30.8 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/1.298, allocations: 49 kB / 1.017 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.298, allocations: 3.984 kB / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/1.298, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.298, allocations: 0 / 1.017 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/1.299, allocations: 270.7 kB / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/1.299, allocations: 36.7 kB / 1.018 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.565e-05/1.299, allocations: 20.36 kB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.299, allocations: 3.984 kB / 1.018 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/1.299, allocations: 34.56 kB / 1.018 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/1.299, allocations: 3.938 kB / 1.018 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004439/1.299, allocations: 76.7 kB / 1.018 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/1.299, allocations: 52.16 kB / 1.018 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/1.299, allocations: 92.98 kB / 1.018 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/1.299, allocations: 29.39 kB / 1.018 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/1.3, allocations: 80.14 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.3, allocations: 11.84 kB / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/1.3, allocations: 32 / 1.018 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.3, allocations: 314.8 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/1.3, allocations: 15.48 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/1.3, allocations: 15.75 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/1.3, allocations: 26.59 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.3, allocations: 0 / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003564/1.3, allocations: 81.03 kB / 1.019 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.3, allocations: 7.906 kB / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.3, allocations: 0 / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.301, allocations: 0 / 1.019 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/1.301, allocations: 36 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.301, allocations: 0 / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.301, allocations: 23.98 kB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/1.301, allocations: 3.984 kB / 1.019 GB, free: 2.312 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.395e-05/1.301, allocations: 105 kB / 1.019 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/1.301, allocations: 3.906 kB / 1.019 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/1.301, allocations: 7.266 kB / 1.019 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.301, allocations: 0 / 1.019 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.301, allocations: 4 kB / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.301, allocations: 0 / 1.019 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/1.302, allocations: 149.7 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/1.302, allocations: 8 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/1.302, allocations: 27.89 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/1.302, allocations: 7.984 kB / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.302, allocations: 0 / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.302, allocations: 0 / 1.019 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.302, allocations: 3.938 kB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003893/1.302, allocations: 173.3 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000485/1.303, allocations: 0.5372 MB / 1.02 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/1.303, allocations: 85 kB / 1.02 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/1.303, allocations: 256 / 1.02 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/1.303, allocations: 32 kB / 1.02 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/1.303, allocations: 4 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.303, allocations: 0 / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.149e-05/1.303, allocations: 86.95 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001133/1.305, allocations: 16 kB / 1.02 GB, free: 1.016 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.0002198/1.305, allocations: 115.1 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001747/1.305, allocations: 30.11 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.305, allocations: 0 / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.834e-05/1.305, allocations: 11.75 kB / 1.02 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/1.305, allocations: 13.3 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/1.306, allocations: 103.8 kB / 1.02 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/1.307, allocations: 0.7151 MB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of SimCode: time 8.42e-07/1.307, allocations: 0 / 1.021 GB, free: 0 / 0.6355 GB