Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_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.981/2.981, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.002328/0.002327, allocations: 189.2 kB / 315.1 MB, free: 4.281 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.427/2.427, 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.002312/0.002311, allocations: 87.28 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.6065/0.6089, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.8725, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7897/1.662, allocations: 132.5 MB / 1.013 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/1.663, allocations: 79.2 kB / 1.013 GB, free: 7.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.03032/1.693, allocations: 4.194 MB / 1.017 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.693, allocations: 8 kB / 1.017 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/1.694, allocations: 72.45 kB / 1.017 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/1.694, allocations: 163.1 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/1.694, allocations: 0 / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/1.694, allocations: 4 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/1.694, allocations: 19.61 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.694, allocations: 57.14 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.694, allocations: 4 kB / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/1.694, allocations: 0 / 1.017 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.694, allocations: 4 kB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/1.694, allocations: 140.9 kB / 1.017 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.695, allocations: 48.02 kB / 1.018 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/1.695, allocations: 15.92 kB / 1.018 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/1.695, allocations: 0 / 1.018 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/1.695, allocations: 38.47 kB / 1.018 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/1.695, allocations: 0 / 1.018 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.005709/1.701, allocations: 0.4973 MB / 1.018 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/1.701, allocations: 51.41 kB / 1.018 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/1.701, allocations: 108.1 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/1.701, allocations: 25.7 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/1.701, allocations: 84.08 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.775e-05/1.701, allocations: 34.73 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/1.701, allocations: 0 / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.701, allocations: 315.1 kB / 1.019 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/1.701, allocations: 37.67 kB / 1.019 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/1.702, allocations: 36.3 kB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/1.702, allocations: 63.52 kB / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.702, allocations: 0 / 1.019 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006071/1.702, allocations: 149.8 kB / 1.019 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/1.703, allocations: 4 kB / 1.019 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.703, allocations: 8 kB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.703, allocations: 0 / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008442/1.703, allocations: 75.05 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.703, allocations: 0 / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.704, allocations: 55.86 kB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/1.704, allocations: 7.984 kB / 1.019 GB, free: 1.988 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 (9): * Single equations (assignments): 9 * 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.0001712/1.704, allocations: 101 kB / 1.019 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/1.704, allocations: 7.906 kB / 1.019 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.31e-05/1.705, allocations: 7.438 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.705, allocations: 3.984 kB / 1.019 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.705, allocations: 7.938 kB / 1.019 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.705, allocations: 4 kB / 1.019 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/1.707, allocations: 0.5152 MB / 1.02 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.707, allocations: 7.984 kB / 1.02 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/1.708, allocations: 67.94 kB / 1.02 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.708, allocations: 15.89 kB / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/1.708, allocations: 0 / 1.02 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/1.708, allocations: 4.375 kB / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.708, allocations: 3.984 kB / 1.02 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000691/1.708, allocations: 267 kB / 1.02 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007365/1.709, allocations: 0.6359 MB / 1.021 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/1.709, allocations: 85.02 kB / 1.021 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/1.709, allocations: 4 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006336/1.71, allocations: 51.95 kB / 1.021 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/1.71, allocations: 7.984 kB / 1.021 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/1.71, allocations: 7.984 kB / 1.021 GB, free: 132 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.871e-05/1.71, allocations: 98.41 kB / 1.021 GB, free: 40 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001249/1.711, allocations: 35.94 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0003264/1.712, allocations: 127.1 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004037/1.712, allocations: 84.58 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.712, allocations: 0 / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/1.712, allocations: 54.19 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/1.713, allocations: 4.062 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/1.716, allocations: 377.8 kB / 1.022 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006182/1.716, allocations: 0.7192 MB / 1.022 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/1.716, allocations: 0 / 1.022 GB, free: 14.63 MB / 0.6511 GB