Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.392/2.392, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002356, allocations: 181.2 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001311, allocations: 96.47 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2744/0.2757, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6405/0.9163, allocations: 115.2 MB / 0.9627 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/1.209, allocations: 137.8 MB / 1.097 GB, free: 3.078 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004311/1.21, allocations: 77.69 kB / 1.097 GB, free: 3.004 MB / 0.698 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.02748/1.237, allocations: 4.2 MB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.237, allocations: 8 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005401/1.238, allocations: 63.84 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/1.238, allocations: 174.9 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.238, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/1.238, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001177/1.238, allocations: 27.98 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/1.239, allocations: 49.61 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.239, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.239, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.239, allocations: 0 / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/1.239, allocations: 146.2 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/1.239, allocations: 37.72 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.284e-05/1.239, allocations: 20.97 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.239, allocations: 8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.239, allocations: 30.56 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/1.239, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.00516/1.244, allocations: 0.4887 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/1.244, allocations: 59.31 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/1.245, allocations: 108.6 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/1.245, allocations: 25.7 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/1.245, allocations: 84.14 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/1.245, allocations: 31.55 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/1.245, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002117/1.245, allocations: 314.8 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/1.245, allocations: 39.92 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/1.245, allocations: 39.98 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/1.246, allocations: 57.53 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.246, allocations: 4 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006355/1.247, allocations: 153.4 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.247, allocations: 6.656 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.247, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.247, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/1.248, allocations: 71.92 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.248, allocations: 4 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/1.248, allocations: 51.95 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/1.248, allocations: 5.578 kB / 1.104 GB, free: 12.61 MB / 0.7136 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.0001238/1.248, allocations: 108.8 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/1.248, allocations: 11.83 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/1.249, allocations: 16.38 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.249, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.249, allocations: 5.594 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.249, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/1.251, allocations: 0.5189 MB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.251, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000666/1.252, allocations: 79.97 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.252, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/1.252, allocations: 7.984 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/1.252, allocations: 0 / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.252, allocations: 4 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005844/1.252, allocations: 269.8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007928/1.253, allocations: 0.6336 MB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/1.253, allocations: 85.02 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/1.253, allocations: 1.75 kB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/1.254, allocations: 47.95 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.622e-05/1.254, allocations: 19.88 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.254, allocations: 13.02 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.905e-05/1.254, allocations: 87.28 kB / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001295/1.255, allocations: 39.94 kB / 1.105 GB, free: 10.54 MB / 0.7136 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.0002683/1.256, allocations: 123.1 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003602/1.256, allocations: 79.95 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.256, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/1.256, allocations: 51.91 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.256, allocations: 8.688 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/1.259, allocations: 378 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/1.26, allocations: 0.727 MB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/1.26, allocations: 4.688 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)