Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7624/0.7624, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001059/0.001059, allocations: 185.3 kB / 164.4 MB, free: 6.879 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.702/1.702, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.0008731/0.000873, allocations: 98.33 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3384/0.3393, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.4983, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4468/0.9451, allocations: 103.1 MB / 0.7216 GB, free: 9.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.9454, allocations: 75.95 kB / 0.7217 GB, free: 9.195 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01283/0.9583, allocations: 4.024 MB / 0.7256 GB, free: 5.137 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9583, allocations: 8 kB / 0.7256 GB, free: 5.129 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003901/0.9587, allocations: 71.91 kB / 0.7257 GB, free: 5.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.9589, allocations: 178.9 kB / 0.7259 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.9589, allocations: 4 kB / 0.7259 GB, free: 4.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.9589, allocations: 3.938 kB / 0.7259 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.642e-05/0.959, allocations: 27.94 kB / 0.7259 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.9591, allocations: 45.67 kB / 0.726 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9592, allocations: 4 kB / 0.726 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.9592, allocations: 0 / 0.726 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.9592, allocations: 0 / 0.726 GB, free: 4.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.9597, allocations: 273.4 kB / 0.7262 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.9598, allocations: 34.58 kB / 0.7263 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.9599, allocations: 20.92 kB / 0.7263 GB, free: 4.383 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.9599, allocations: 0 / 0.7263 GB, free: 4.383 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.9599, allocations: 38.5 kB / 0.7263 GB, free: 4.336 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.96, allocations: 0 / 0.7263 GB, free: 4.336 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.9603, allocations: 73.56 kB / 0.7264 GB, free: 4.258 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.9603, allocations: 51.41 kB / 0.7264 GB, free: 4.195 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.399e-05/0.9604, allocations: 93 kB / 0.7265 GB, free: 4.098 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.9604, allocations: 26.45 kB / 0.7266 GB, free: 4.066 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.9605, allocations: 92.16 kB / 0.7266 GB, free: 3.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.9605, allocations: 3.906 kB / 0.7266 GB, free: 3.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.9605, allocations: 0 / 0.7266 GB, free: 3.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9606, allocations: 314.8 kB / 0.7269 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.9607, allocations: 12 kB / 0.727 GB, free: 3.641 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.9607, allocations: 8 kB / 0.727 GB, free: 3.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.9608, allocations: 27.97 kB / 0.727 GB, free: 3.605 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9608, allocations: 8 kB / 0.727 GB, free: 3.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.961, allocations: 77.5 kB / 0.7271 GB, free: 3.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.9611, allocations: 8 kB / 0.7271 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.9611, allocations: 0 / 0.7271 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.9611, allocations: 0 / 0.7271 GB, free: 3.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.9613, allocations: 32 kB / 0.7271 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9613, allocations: 0.8594 kB / 0.7271 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.9615, allocations: 31.97 kB / 0.7271 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.9615, allocations: 0 / 0.7271 GB, free: 3.445 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 (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 7.065e-05/0.9616, allocations: 104.9 kB / 0.7272 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.9616, allocations: 3.938 kB / 0.7272 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.9616, allocations: 11.31 kB / 0.7273 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9616, allocations: 0 / 0.7273 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9617, allocations: 7.984 kB / 0.7273 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9617, allocations: 0 / 0.7273 GB, free: 3.316 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.9618, allocations: 150.1 kB / 0.7274 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9618, allocations: 0 / 0.7274 GB, free: 3.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.962, allocations: 31.97 kB / 0.7274 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.962, allocations: 0 / 0.7274 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.962, allocations: 0 / 0.7274 GB, free: 3.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.962, allocations: 4.25 kB / 0.7274 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.962, allocations: 4 kB / 0.7274 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000235/0.9623, allocations: 175.4 kB / 0.7276 GB, free: 2.906 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003344/0.9626, allocations: 0.535 MB / 0.7281 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.9627, allocations: 85.09 kB / 0.7282 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.9627, allocations: 4 kB / 0.7282 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.9629, allocations: 24.05 kB / 0.7282 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.9629, allocations: 3.984 kB / 0.7282 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.963, allocations: 4 kB / 0.7283 GB, free: 2.215 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.237e-05/0.963, allocations: 79.28 kB / 0.7283 GB, free: 2.137 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008228/0.9638, allocations: 23.84 kB / 0.7283 GB, free: 2.113 MB / 490.7 MB 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.000203/0.964, allocations: 111.2 kB / 0.7285 GB, free: 1.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.9642, allocations: 31.94 kB / 0.7285 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9642, allocations: 0 / 0.7285 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.9642, allocations: 12 kB / 0.7285 GB, free: 1.949 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.9644, allocations: 3.984 kB / 0.7285 GB, free: 1.945 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.9649, allocations: 116 kB / 0.7286 GB, free: 1.809 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/0.9652, allocations: 0.6919 MB / 0.7293 GB, free: 1.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.9652, allocations: 3.938 kB / 0.7293 GB, free: 1.086 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)