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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized") [: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.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001013/0.001013, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.128/1.128, 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.0008081/0.0008081, allocations: 94.08 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.827e-06/8.997e-06, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4437, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.5837, allocations: 138.4 MB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/0.584, allocations: 73.8 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01171/0.5957, allocations: 3.482 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5957, allocations: 0 / 1.102 GB, free: 14.16 MB / 0.7136 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.000388/0.5961, allocations: 386.3 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5962, allocations: 8.031 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.5965, allocations: 75.83 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.5967, allocations: 163.1 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5967, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.5967, allocations: 3.938 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.594e-05/0.5968, allocations: 23.94 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.5969, allocations: 53.58 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.5969, allocations: 3.75 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.597, allocations: 3.984 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.597, allocations: 8 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.5974, allocations: 261.4 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.5975, allocations: 46.56 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.5975, allocations: 16.86 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.5975, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.5976, allocations: 34.56 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.5976, allocations: 0 / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002835/0.5979, allocations: 73.66 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.5979, allocations: 55.44 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.564e-05/0.598, allocations: 90.62 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.598, allocations: 25.7 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.598, allocations: 88.14 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.5981, allocations: 7.844 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.5981, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.5982, allocations: 318.7 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.5982, allocations: 12 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.5982, allocations: 16 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.5984, allocations: 31.91 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5984, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.5986, allocations: 69.66 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.5986, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5986, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5986, allocations: 4.094 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.5988, allocations: 27.97 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.5988, allocations: 0 / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.599, allocations: 31.88 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.599, allocations: 4 kB / 1.104 GB, free: 12.05 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.279e-05/0.5991, allocations: 105 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.5991, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.5991, allocations: 7.25 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5991, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5991, allocations: 3.906 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5991, allocations: 2.188 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.5993, allocations: 150.2 kB / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.5993, allocations: 0 / 1.104 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.5995, allocations: 31.97 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.5995, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5995, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5995, allocations: 4.5 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5995, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002321/0.5998, allocations: 175.4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.5998, allocations: 81.02 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.5998, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6, allocations: 32 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.6, allocations: 0.8438 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.6001, allocations: 3.984 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.224e-05/0.6001, allocations: 84.28 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002388/0.6003, allocations: 16 kB / 1.105 GB, free: 11.29 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.0001503/0.6005, allocations: 123 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.6006, allocations: 31.92 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.6006, allocations: 0 / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.6007, allocations: 16 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.6008, allocations: 3.953 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.6013, allocations: 104.8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.6016, allocations: 0.7044 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.6016, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.002644/0.6042, allocations: 0.9461 MB / 1.107 GB, free: 9.344 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)