Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297 MB, free: 6.641 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.001154/0.001154, allocations: 169.3 kB / 366.3 MB, free: 1.953 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.429/1.429, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009118/0.0009117, allocations: 83.91 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.902e-06/7.073e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5532, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.7089, allocations: 139.4 MB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.7091, allocations: 77.39 kB / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01176/0.7209, allocations: 3.479 MB / 1.112 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.721, allocations: 0 / 1.112 GB, free: 5.551 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.0004522/0.7214, allocations: 382.3 kB / 1.112 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7215, allocations: 8.031 kB / 1.112 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.7219, allocations: 75.83 kB / 1.113 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.722, allocations: 167.1 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.722, allocations: 0.75 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.722, allocations: 0 / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.507e-05/0.7221, allocations: 24 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.7222, allocations: 61.45 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.7222, allocations: 0 / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7223, allocations: 0 / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7223, allocations: 0 / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.7227, allocations: 277.4 kB / 1.113 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.7228, allocations: 35.14 kB / 1.113 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.7228, allocations: 24.92 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.7228, allocations: 0 / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.7229, allocations: 30.56 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.7229, allocations: 0 / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002755/0.7232, allocations: 73.59 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.7232, allocations: 51.97 kB / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.7233, allocations: 105 kB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.7233, allocations: 25.7 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.7233, allocations: 80.14 kB / 1.113 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.7233, allocations: 7.844 kB / 1.113 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.7234, allocations: 0 / 1.113 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7235, allocations: 319.8 kB / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.7235, allocations: 12 kB / 1.114 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.7235, allocations: 12 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.7237, allocations: 32.02 kB / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7237, allocations: 0 / 1.114 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.7239, allocations: 69.61 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.7239, allocations: 11.98 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7239, allocations: 0 / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.7239, allocations: 0 / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.7241, allocations: 32 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.7241, allocations: 0 / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.7243, allocations: 33.11 kB / 1.114 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.7243, allocations: 0 / 1.114 GB, free: 3.445 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.348e-05/0.7244, allocations: 101 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.7244, allocations: 12 kB / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.7244, allocations: 7.297 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7244, allocations: 3.938 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7244, allocations: 7.891 kB / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7244, allocations: 0 / 1.114 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.7246, allocations: 142.2 kB / 1.114 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.7246, allocations: 0 / 1.114 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.7248, allocations: 35.97 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7248, allocations: 0 / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.7248, allocations: 4 kB / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.7248, allocations: 5.297 kB / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7248, allocations: 256 / 1.114 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002377/0.725, allocations: 171.4 kB / 1.114 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.7251, allocations: 89.02 kB / 1.115 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.7251, allocations: 0 / 1.115 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.7253, allocations: 24.02 kB / 1.115 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.7253, allocations: 7.984 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.7254, allocations: 0 / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.551e-05/0.7254, allocations: 83.28 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002276/0.7256, allocations: 16 kB / 1.115 GB, free: 2.668 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.0002081/0.7258, allocations: 115.2 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.726, allocations: 28 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.726, allocations: 0 / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.726, allocations: 15.94 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.7262, allocations: 10.45 kB / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.7266, allocations: 108 kB / 1.115 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.7269, allocations: 0.6958 MB / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.7269, allocations: 0 / 1.116 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.00264/0.7295, allocations: 0.9385 MB / 1.117 GB, free: 0.7305 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)