Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 185.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5017/0.5017, allocations: 90.85 MB / 99.08 MB, free: 14.94 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.331/1.331, allocations: 221.4 MB / 342.7 MB, free: 5.273 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.0009928/0.0009928, allocations: 86.3 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1733/0.1743, allocations: 78.45 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.5722, allocations: 72.3 MB / 0.553 GB, free: 73.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.6916, allocations: 101.9 MB / 0.6525 GB, free: 8.215 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.6919, allocations: 79.05 kB / 0.6525 GB, free: 8.141 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01283/0.7048, allocations: 3.916 MB / 0.6564 GB, free: 4.234 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.7048, allocations: 8 kB / 0.6564 GB, free: 4.227 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.7053, allocations: 71.91 kB / 0.6564 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7054, allocations: 171 kB / 0.6566 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.7055, allocations: 0 / 0.6566 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.7055, allocations: 4 kB / 0.6566 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.7056, allocations: 23.98 kB / 0.6566 GB, free: 3.922 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.683e-05/0.7057, allocations: 53.61 kB / 0.6567 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7057, allocations: 0 / 0.6567 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7057, allocations: 0 / 0.6567 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7057, allocations: 0 / 0.6567 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.7062, allocations: 273.3 kB / 0.6569 GB, free: 3.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.848e-05/0.7063, allocations: 38.58 kB / 0.657 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.7064, allocations: 16.92 kB / 0.657 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.7064, allocations: 3.984 kB / 0.657 GB, free: 3.488 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.7065, allocations: 37.06 kB / 0.657 GB, free: 3.445 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.7065, allocations: 0 / 0.657 GB, free: 3.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.7068, allocations: 73.52 kB / 0.6571 GB, free: 3.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.7069, allocations: 55.34 kB / 0.6572 GB, free: 3.301 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.7069, allocations: 101 kB / 0.6573 GB, free: 3.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.707, allocations: 25.7 kB / 0.6573 GB, free: 3.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.707, allocations: 84.17 kB / 0.6574 GB, free: 3.078 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.707, allocations: 7.906 kB / 0.6574 GB, free: 3.07 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.707, allocations: 0 / 0.6574 GB, free: 3.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.7072, allocations: 310.8 kB / 0.6577 GB, free: 2.758 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.7072, allocations: 15.98 kB / 0.6577 GB, free: 2.742 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.7072, allocations: 12 kB / 0.6577 GB, free: 2.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.7074, allocations: 23.97 kB / 0.6577 GB, free: 2.707 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7074, allocations: 7.156 kB / 0.6577 GB, free: 2.703 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.7076, allocations: 73.66 kB / 0.6578 GB, free: 2.625 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.7076, allocations: 7.906 kB / 0.6578 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7077, allocations: 0.9375 kB / 0.6578 GB, free: 2.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7077, allocations: 3.938 kB / 0.6578 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.7079, allocations: 36 kB / 0.6578 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.7079, allocations: 0 / 0.6578 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.708, allocations: 27.98 kB / 0.6579 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.7081, allocations: 3.984 kB / 0.6579 GB, free: 2.547 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 (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 8.412e-05/0.7081, allocations: 103.9 kB / 0.658 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.7082, allocations: 7.906 kB / 0.658 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.7082, allocations: 3.312 kB / 0.658 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7082, allocations: 0 / 0.658 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7082, allocations: 4 kB / 0.658 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7082, allocations: 0 / 0.658 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.7084, allocations: 150.2 kB / 0.6581 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7084, allocations: 0 / 0.6581 GB, free: 2.242 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.7086, allocations: 35.88 kB / 0.6582 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7086, allocations: 1.625 kB / 0.6582 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7086, allocations: 4 kB / 0.6582 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7086, allocations: 0 / 0.6582 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7086, allocations: 0 / 0.6582 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002607/0.7089, allocations: 171.4 kB / 0.6583 GB, free: 2.02 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003671/0.7093, allocations: 0.5357 MB / 0.6589 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.7093, allocations: 84.95 kB / 0.6589 GB, free: 1.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.7093, allocations: 4 kB / 0.6589 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.7095, allocations: 28.03 kB / 0.659 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.7096, allocations: 0 / 0.659 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.7096, allocations: 4 kB / 0.659 GB, free: 1.328 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.7e-05/0.7096, allocations: 92.52 kB / 0.6591 GB, free: 1.238 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008153/0.7105, allocations: 16 kB / 0.6591 GB, free: 1.223 MB / 474.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.0001645/0.7106, allocations: 107.2 kB / 0.6592 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.7108, allocations: 31.92 kB / 0.6592 GB, free: 1.078 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7108, allocations: 1.688 kB / 0.6592 GB, free: 1.078 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.32e-05/0.7108, allocations: 12 kB / 0.6592 GB, free: 1.066 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.711, allocations: 7.906 kB / 0.6592 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.7115, allocations: 115.8 kB / 0.6593 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.7118, allocations: 0.698 MB / 0.66 GB, free: 204 kB / 474.7 MB Notification: Performance of SimCode: time 3.1e-07/0.7118, allocations: 0 / 0.66 GB, free: 204 kB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_InverseXRegularized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)