Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 192.2 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4907/0.4907, allocations: 90.86 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.4 MB / 342.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 88.92 kB / 415.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2777/0.2796, allocations: 78.46 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.9189, allocations: 72.3 MB / 0.553 GB, free: 73.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/1.041, allocations: 101.5 MB / 0.6521 GB, free: 8.633 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.041, allocations: 83.94 kB / 0.6521 GB, free: 8.551 MB / 474.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.01466/1.056, allocations: 4.244 MB / 0.6563 GB, free: 4.332 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.056, allocations: 12 kB / 0.6563 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003468/1.056, allocations: 69.41 kB / 0.6564 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/1.057, allocations: 167.1 kB / 0.6565 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/1.057, allocations: 0 / 0.6565 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/1.057, allocations: 4 kB / 0.6565 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.214e-05/1.057, allocations: 27.48 kB / 0.6566 GB, free: 4.023 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.579e-05/1.057, allocations: 45.59 kB / 0.6566 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.057, allocations: 0 / 0.6566 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/1.057, allocations: 4 kB / 0.6566 GB, free: 3.969 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.057, allocations: 4 kB / 0.6566 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/1.057, allocations: 146.3 kB / 0.6567 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/1.057, allocations: 41.7 kB / 0.6568 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/1.057, allocations: 16.98 kB / 0.6568 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/1.057, allocations: 3.984 kB / 0.6568 GB, free: 3.715 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.057, allocations: 41.31 kB / 0.6568 GB, free: 3.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/1.057, allocations: 4 kB / 0.6569 GB, free: 3.664 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.003084/1.06, allocations: 0.493 MB / 0.6573 GB, free: 3.164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.06, allocations: 51.41 kB / 0.6574 GB, free: 3.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/1.061, allocations: 105 kB / 0.6575 GB, free: 2.992 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.061, allocations: 25.7 kB / 0.6575 GB, free: 2.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/1.061, allocations: 84.14 kB / 0.6576 GB, free: 2.875 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/1.061, allocations: 27.56 kB / 0.6576 GB, free: 2.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/1.061, allocations: 0 / 0.6576 GB, free: 2.848 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/1.061, allocations: 318.8 kB / 0.6579 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/1.061, allocations: 39.98 kB / 0.658 GB, free: 2.488 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/1.061, allocations: 35.98 kB / 0.658 GB, free: 2.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/1.061, allocations: 59.92 kB / 0.658 GB, free: 2.395 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.061, allocations: 0 / 0.658 GB, free: 2.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003901/1.062, allocations: 147.8 kB / 0.6582 GB, free: 2.246 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.062, allocations: 4 kB / 0.6582 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.062, allocations: 0 / 0.6582 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.062, allocations: 11.98 kB / 0.6582 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/1.062, allocations: 67.92 kB / 0.6583 GB, free: 2.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.062, allocations: 4 kB / 0.6583 GB, free: 2.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/1.063, allocations: 55.86 kB / 0.6583 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/1.063, allocations: 11.98 kB / 0.6583 GB, free: 2.094 MB / 474.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.688e-05/1.063, allocations: 104.9 kB / 0.6584 GB, free: 1.984 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/1.063, allocations: 7.906 kB / 0.6584 GB, free: 1.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/1.063, allocations: 8.359 kB / 0.6585 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.063, allocations: 0 / 0.6585 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.063, allocations: 0 / 0.6585 GB, free: 1.969 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.063, allocations: 7.984 kB / 0.6585 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.064, allocations: 0.5192 MB / 0.659 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.064, allocations: 0 / 0.659 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/1.065, allocations: 71.98 kB / 0.659 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.065, allocations: 7.906 kB / 0.659 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.065, allocations: 7.984 kB / 0.659 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/1.065, allocations: 4 kB / 0.6591 GB, free: 1.301 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.065, allocations: 5.812 kB / 0.6591 GB, free: 1.297 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004139/1.065, allocations: 268.4 kB / 0.6593 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005643/1.066, allocations: 0.6313 MB / 0.6599 GB, free: 340 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/1.066, allocations: 89 kB / 0.66 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/1.066, allocations: 0 / 0.66 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/1.066, allocations: 57.02 kB / 0.6601 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/1.066, allocations: 7.984 kB / 0.6601 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/1.066, allocations: 7.984 kB / 0.6601 GB, free: 160 kB / 474.7 MB Notification: Performance of sort global known variables: time 5.603e-05/1.066, allocations: 93.47 kB / 0.6602 GB, free: 68 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009469/1.067, allocations: 43.92 kB / 0.6602 GB, free: 24 kB / 474.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.0002731/1.068, allocations: 124.8 kB / 0.6603 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/1.068, allocations: 91.89 kB / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.068, allocations: 0 / 0.6604 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/1.068, allocations: 39.97 kB / 0.6605 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/1.068, allocations: 11.91 kB / 0.6605 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.07, allocations: 385.2 kB / 0.6608 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/1.07, allocations: 0.7192 MB / 0.6615 GB, free: 14.6 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/1.07, allocations: 0 / 0.6615 GB, free: 14.6 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)