Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7265/0.7265, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 185.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009676/0.0009676, allocations: 91.22 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3666/0.3676, allocations: 82.9 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.5592, allocations: 76.74 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.565/1.124, allocations: 102.6 MB / 0.7212 GB, free: 9.727 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/1.125, allocations: 83.92 kB / 0.7213 GB, free: 9.645 MB / 490.7 MB 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.01367/1.138, allocations: 4.391 MB / 0.7256 GB, free: 5.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.138, allocations: 8 kB / 0.7256 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/1.139, allocations: 68.7 kB / 0.7257 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.139, allocations: 179 kB / 0.7259 GB, free: 4.934 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/1.139, allocations: 4 kB / 0.7259 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/1.139, allocations: 7.891 kB / 0.7259 GB, free: 4.922 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.117e-05/1.139, allocations: 19.98 kB / 0.7259 GB, free: 4.902 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.831e-05/1.139, allocations: 49.67 kB / 0.7259 GB, free: 4.848 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.139, allocations: 3.938 kB / 0.7259 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.139, allocations: 4 kB / 0.7259 GB, free: 4.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/1.139, allocations: 0 / 0.7259 GB, free: 4.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/1.139, allocations: 146.1 kB / 0.7261 GB, free: 4.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/1.139, allocations: 49.7 kB / 0.7261 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/1.139, allocations: 16.98 kB / 0.7261 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.139, allocations: 0 / 0.7261 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/1.139, allocations: 34.56 kB / 0.7262 GB, free: 4.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/1.14, allocations: 0 / 0.7262 GB, free: 4.543 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.002797/1.142, allocations: 497 kB / 0.7266 GB, free: 4.051 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/1.142, allocations: 55.41 kB / 0.7267 GB, free: 3.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/1.142, allocations: 105.6 kB / 0.7268 GB, free: 3.875 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.142, allocations: 25.7 kB / 0.7268 GB, free: 3.844 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/1.143, allocations: 80.14 kB / 0.7269 GB, free: 3.762 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/1.143, allocations: 31.55 kB / 0.7269 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/1.143, allocations: 0 / 0.7269 GB, free: 3.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/1.143, allocations: 322.8 kB / 0.7272 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/1.143, allocations: 35.98 kB / 0.7273 GB, free: 3.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/1.143, allocations: 39.98 kB / 0.7273 GB, free: 3.332 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/1.143, allocations: 63.86 kB / 0.7274 GB, free: 3.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/1.143, allocations: 0 / 0.7274 GB, free: 3.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003225/1.143, allocations: 145.6 kB / 0.7275 GB, free: 3.121 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.143, allocations: 4.375 kB / 0.7275 GB, free: 3.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.143, allocations: 3.906 kB / 0.7275 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/1.143, allocations: 3.938 kB / 0.7275 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/1.144, allocations: 79.86 kB / 0.7276 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.144, allocations: 3.938 kB / 0.7276 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/1.144, allocations: 47.95 kB / 0.7276 GB, free: 2.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.426e-05/1.144, allocations: 7.984 kB / 0.7277 GB, free: 2.973 MB / 490.7 MB 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.526e-05/1.144, allocations: 105 kB / 0.7278 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/1.144, allocations: 7.906 kB / 0.7278 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/1.144, allocations: 8.375 kB / 0.7278 GB, free: 2.848 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.144, allocations: 7.984 kB / 0.7278 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.144, allocations: 0 / 0.7278 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.144, allocations: 0 / 0.7278 GB, free: 2.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/1.146, allocations: 0.518 MB / 0.7283 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.146, allocations: 0 / 0.7283 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/1.146, allocations: 79.92 kB / 0.7284 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.146, allocations: 0 / 0.7284 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/1.146, allocations: 4 kB / 0.7284 GB, free: 2.191 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/1.146, allocations: 4.062 kB / 0.7284 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.146, allocations: 3.984 kB / 0.7284 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003587/1.147, allocations: 264.8 kB / 0.7286 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005057/1.147, allocations: 0.6375 MB / 0.7292 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/1.147, allocations: 81.02 kB / 0.7293 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/1.147, allocations: 8 kB / 0.7293 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/1.147, allocations: 51.95 kB / 0.7294 GB, free: 1.059 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/1.148, allocations: 11.98 kB / 0.7294 GB, free: 1.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/1.148, allocations: 7.984 kB / 0.7294 GB, free: 1.039 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.946e-05/1.148, allocations: 91.27 kB / 0.7295 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008433/1.148, allocations: 39.94 kB / 0.7295 GB, free: 0.9102 MB / 490.7 MB 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.0002374/1.149, allocations: 127.1 kB / 0.7296 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/1.149, allocations: 88.08 kB / 0.7297 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/1.149, allocations: 4 kB / 0.7297 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/1.149, allocations: 52.09 kB / 0.7298 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/1.149, allocations: 10.94 kB / 0.7298 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/1.151, allocations: 377.5 kB / 0.7302 GB, free: 232 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.151, allocations: 0.7269 MB / 0.7309 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/1.151, allocations: 0 / 0.7309 GB, free: 15.47 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)