Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.576/1.576, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001336/0.001336, allocations: 177.3 kB / 366.3 MB, free: 1.934 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.62/1.62, allocations: 205.1 MB / 0.6256 GB, free: 7.391 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.0009109/0.0009109, allocations: 91.69 kB / 0.7395 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.343/0.344, allocations: 122.4 MB / 0.8591 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/1.08, allocations: 116.3 MB / 0.9727 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/1.276, allocations: 138.9 MB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.276, allocations: 84.78 kB / 1.108 GB, free: 11.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01361/1.29, allocations: 4.179 MB / 1.112 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.29, allocations: 15.98 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/1.29, allocations: 65.59 kB / 1.113 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/1.291, allocations: 171 kB / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/1.291, allocations: 0 / 1.113 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.291, allocations: 3.938 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.649e-05/1.291, allocations: 23.98 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/1.291, allocations: 49.67 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.291, allocations: 2.25 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.291, allocations: 0 / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.291, allocations: 0 / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/1.291, allocations: 150.2 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/1.291, allocations: 41.72 kB / 1.113 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/1.291, allocations: 12.84 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/1.291, allocations: 4 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.291, allocations: 42.62 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.291, allocations: 0 / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.002951/1.294, allocations: 0.4905 MB / 1.114 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.294, allocations: 59.31 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/1.295, allocations: 99.27 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/1.295, allocations: 29.7 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/1.295, allocations: 84.14 kB / 1.114 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/1.295, allocations: 31.55 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/1.295, allocations: 0 / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.295, allocations: 314.8 kB / 1.114 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/1.295, allocations: 35.98 kB / 1.114 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-05/1.295, allocations: 46.59 kB / 1.114 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/1.295, allocations: 51.94 kB / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.295, allocations: 0 / 1.114 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003538/1.296, allocations: 157.4 kB / 1.114 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.296, allocations: 4 kB / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/1.296, allocations: 0 / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.296, allocations: 0 / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/1.296, allocations: 71.92 kB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/1.296, allocations: 3.938 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/1.296, allocations: 57.27 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.296, allocations: 7.984 kB / 1.115 GB, free: 4.953 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 (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.835e-05/1.297, allocations: 104.9 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/1.297, allocations: 7.891 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/1.297, allocations: 12.38 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.297, allocations: 5.5 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.297, allocations: 3.906 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.297, allocations: 3.984 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/1.298, allocations: 0.5176 MB / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.298, allocations: 0 / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.298, allocations: 79.98 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.298, allocations: 2.188 kB / 1.115 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/1.298, allocations: 7.984 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.298, allocations: 0 / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.298, allocations: 7.938 kB / 1.115 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004682/1.299, allocations: 261.6 kB / 1.116 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005171/1.299, allocations: 0.6297 MB / 1.116 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/1.3, allocations: 89.02 kB / 1.116 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/1.3, allocations: 0 / 1.116 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/1.3, allocations: 47.95 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/1.3, allocations: 15.88 kB / 1.116 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/1.3, allocations: 11.94 kB / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.772e-05/1.3, allocations: 93.12 kB / 1.116 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009419/1.301, allocations: 39.94 kB / 1.116 GB, free: 2.883 MB / 0.7136 GB 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.0002388/1.301, allocations: 127.2 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002327/1.302, allocations: 91.89 kB / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.302, allocations: 0 / 1.117 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/1.302, allocations: 41.19 kB / 1.117 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/1.302, allocations: 4 kB / 1.117 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/1.303, allocations: 385.2 kB / 1.117 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/1.304, allocations: 0.72 MB / 1.118 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.304, allocations: 4 kB / 1.118 GB, free: 1.457 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)