Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 249.4 MB / 256.7 MB, free: 7 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.001014/0.001014, allocations: 181.3 kB / 316 MB, free: 3.527 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.243/1.243, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009/0.0008999, allocations: 96.59 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3673/0.3682, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.5394, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5218/1.061, allocations: 132.7 MB / 1.014 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/1.062, allocations: 81.81 kB / 1.014 GB, free: 6.164 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.01281/1.074, allocations: 4.191 MB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.074, allocations: 12 kB / 1.018 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/1.075, allocations: 67.84 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.075, allocations: 163.1 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.075, allocations: 0.8438 kB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/1.075, allocations: 4 kB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.424e-05/1.075, allocations: 26.89 kB / 1.019 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/1.075, allocations: 49.05 kB / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/1.075, allocations: 0 / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/1.075, allocations: 4 kB / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/1.075, allocations: 0 / 1.019 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/1.075, allocations: 142 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.788e-05/1.075, allocations: 48.02 kB / 1.019 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/1.075, allocations: 24.33 kB / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/1.075, allocations: 0 / 1.019 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/1.076, allocations: 38.5 kB / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/1.076, allocations: 0 / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.002669/1.078, allocations: 0.4951 MB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/1.078, allocations: 51.41 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.532e-05/1.078, allocations: 100.6 kB / 1.02 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/1.078, allocations: 25.7 kB / 1.02 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.099e-05/1.078, allocations: 87.7 kB / 1.02 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/1.078, allocations: 27.55 kB / 1.02 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/1.078, allocations: 0 / 1.02 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/1.079, allocations: 318.1 kB / 1.02 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/1.079, allocations: 41.3 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/1.079, allocations: 32.73 kB / 1.02 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/1.079, allocations: 61.31 kB / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/1.079, allocations: 0 / 1.02 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003133/1.079, allocations: 146 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/1.079, allocations: 12 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.079, allocations: 0 / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.079, allocations: 0 / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/1.08, allocations: 79.48 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.08, allocations: 8.594 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/1.08, allocations: 48.34 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.08, allocations: 7.984 kB / 1.02 GB, free: 484 kB / 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 8.009e-05/1.08, allocations: 105 kB / 1.021 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/1.08, allocations: 7.906 kB / 1.021 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/1.08, allocations: 11.69 kB / 1.021 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.08, allocations: 4 kB / 1.021 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.08, allocations: 4 kB / 1.021 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.08, allocations: 3.984 kB / 1.021 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/1.081, allocations: 0.5201 MB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.081, allocations: 4.375 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/1.082, allocations: 83.14 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.082, allocations: 8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.082, allocations: 3.984 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.082, allocations: 7.938 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.082, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003298/1.082, allocations: 265.1 kB / 1.021 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004815/1.083, allocations: 0.6328 MB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/1.083, allocations: 89.02 kB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.083, allocations: 0 / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/1.083, allocations: 51.95 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/1.083, allocations: 11.97 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/1.083, allocations: 7.984 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.776e-05/1.083, allocations: 90.34 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008192/1.084, allocations: 35.56 kB / 1.022 GB, free: 14.48 MB / 0.6511 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.0001841/1.084, allocations: 127.2 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002012/1.084, allocations: 88.2 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.085, allocations: 0 / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/1.085, allocations: 50.28 kB / 1.023 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/1.085, allocations: 4.281 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/1.086, allocations: 375.4 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/1.087, allocations: 0.7228 MB / 1.024 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.087, allocations: 4 kB / 1.024 GB, free: 13.1 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)