Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.001109/0.001109, allocations: 181.2 kB / 316 MB, free: 3.516 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.17/1.17, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008251/0.0008252, allocations: 71.42 kB / 0.671 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3301/0.3309, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.4981, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4626/0.9607, allocations: 133.2 MB / 1.015 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.961, allocations: 71.75 kB / 1.015 GB, free: 5.445 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.01155/0.9725, allocations: 3.867 MB / 1.019 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.9726, allocations: 8 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.973, allocations: 75.92 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.9731, allocations: 166.1 kB / 1.019 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.9731, allocations: 4 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.9731, allocations: 0 / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.144e-05/0.9732, allocations: 24.94 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.9733, allocations: 44.98 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.9733, allocations: 0 / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.9733, allocations: 0 / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.9733, allocations: 0 / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.9737, allocations: 274.7 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.9738, allocations: 41.08 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.9739, allocations: 12.11 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.9739, allocations: 4 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.9739, allocations: 38.5 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.9739, allocations: 0 / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.9742, allocations: 75.31 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.9742, allocations: 51.41 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.165e-05/0.9743, allocations: 104.3 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.9743, allocations: 25.7 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.9743, allocations: 80.14 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.9744, allocations: 15.28 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.9744, allocations: 0 / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.9745, allocations: 310.8 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.9745, allocations: 14.44 kB / 1.02 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.9746, allocations: 7.375 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.9747, allocations: 35.39 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.9747, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.9749, allocations: 79.19 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.9749, allocations: 4 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9749, allocations: 0 / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.9749, allocations: 4 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.9751, allocations: 32 kB / 1.02 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9751, allocations: 3.984 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.9753, allocations: 23.98 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.9753, allocations: 4 kB / 1.02 GB, free: 0.4922 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 5.795e-05/0.9753, allocations: 101 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.9754, allocations: 11.83 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.052e-05/0.9754, allocations: 14.52 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9754, allocations: 7.984 kB / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.9754, allocations: 0 / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.9754, allocations: 0 / 1.02 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.9756, allocations: 148.1 kB / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9756, allocations: 0 / 1.02 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.9758, allocations: 31.97 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9758, allocations: 0 / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.9758, allocations: 4.234 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9758, allocations: 4 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9758, allocations: 0 / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000264/0.9761, allocations: 177 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003565/0.9765, allocations: 0.5329 MB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.9765, allocations: 81.08 kB / 1.021 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.9766, allocations: 7.938 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.9767, allocations: 27.97 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.9768, allocations: 4 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.9768, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.873e-05/0.9768, allocations: 82.59 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007743/0.9776, allocations: 19.98 kB / 1.021 GB, free: 15.19 MB / 0.6511 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.000215/0.9778, allocations: 123 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.978, allocations: 22.19 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.978, allocations: 0 / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.978, allocations: 19.73 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.9782, allocations: 6.625 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.9786, allocations: 110.3 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.9789, allocations: 0.6919 MB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.452e-06/0.9789, allocations: 0 / 1.022 GB, free: 14.18 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)