Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.435/1.435, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009931/0.0009931, allocations: 189.2 kB / 361.1 MB, free: 7.09 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.181/1.181, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007536/0.0007535, allocations: 90.41 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2121/0.2129, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4957/0.7086, allocations: 115.3 MB / 0.9638 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.8664, allocations: 138.4 MB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.8666, allocations: 72.56 kB / 1.099 GB, free: 1.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01198/0.8786, allocations: 3.858 MB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8787, allocations: 16.5 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.8791, allocations: 67.83 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.8792, allocations: 167.1 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.8792, allocations: 1.438 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.8792, allocations: 0.6094 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.122e-05/0.8793, allocations: 35.94 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.8794, allocations: 53.52 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.8795, allocations: 0.5156 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8795, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8795, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.8799, allocations: 269.4 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.5e-05/0.88, allocations: 39.55 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.8801, allocations: 24.86 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.8801, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.8801, allocations: 35.5 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8801, allocations: 0 / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003042/0.8804, allocations: 69.66 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.8805, allocations: 51.41 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.8806, allocations: 98.38 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8806, allocations: 25.7 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.8806, allocations: 80.14 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.8807, allocations: 11.88 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.8807, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.8808, allocations: 326.7 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.8808, allocations: 9.781 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.8808, allocations: 12 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.881, allocations: 23.97 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.881, allocations: 3.938 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.8812, allocations: 77.72 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8812, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.8812, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.8812, allocations: 0 / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.8814, allocations: 32 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.8814, allocations: 0 / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.8816, allocations: 35.88 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.8816, allocations: 0 / 1.104 GB, free: 12.04 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 (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 6.872e-05/0.8817, allocations: 101 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.8817, allocations: 4.562 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.8817, allocations: 7.312 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8817, allocations: 3.938 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8817, allocations: 5.844 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8817, allocations: 4 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.8819, allocations: 146.2 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8819, allocations: 2.906 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.8821, allocations: 31.97 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.8821, allocations: 4 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.8821, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.8821, allocations: 3.938 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8821, allocations: 0 / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000241/0.8823, allocations: 171.4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003607/0.8827, allocations: 0.535 MB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.8828, allocations: 85.11 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.8828, allocations: 3.984 kB / 1.105 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.883, allocations: 27.92 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.883, allocations: 9.906 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.883, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.76e-05/0.8831, allocations: 79.28 kB / 1.105 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007742/0.8838, allocations: 23.94 kB / 1.105 GB, free: 10.71 MB / 0.7136 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.0001532/0.884, allocations: 120.8 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.8841, allocations: 28 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8841, allocations: 0 / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.8842, allocations: 12 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.8843, allocations: 6.656 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.8848, allocations: 117.4 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.8851, allocations: 0.6966 MB / 1.106 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.8851, allocations: 0 / 1.106 GB, free: 9.688 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)