Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 289.8 MB / 297.1 MB, free: 8.938 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.001262/0.001262, allocations: 177.3 kB / 366.3 MB, free: 11.28 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.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000855/0.0008549, allocations: 81.27 kB / 0.7396 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5181/0.519, allocations: 122.4 MB / 0.8591 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.744, allocations: 116.3 MB / 0.9727 GB, free: 31.55 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6078/1.352, allocations: 139.3 MB / 1.109 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/1.352, allocations: 70.97 kB / 1.109 GB, free: 16.21 MB / 0.6823 GB 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.01258/1.365, allocations: 3.869 MB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.365, allocations: 10 kB / 1.113 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000429/1.365, allocations: 75.3 kB / 1.113 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/1.365, allocations: 165.4 kB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/1.365, allocations: 1.656 kB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.365, allocations: 2.188 kB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/1.366, allocations: 23.52 kB / 1.113 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/1.366, allocations: 48.59 kB / 1.113 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.366, allocations: 7.844 kB / 1.113 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.366, allocations: 0 / 1.113 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.366, allocations: 6.078 kB / 1.113 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/1.366, allocations: 265.9 kB / 1.113 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.716e-05/1.366, allocations: 43.22 kB / 1.113 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/1.366, allocations: 18.66 kB / 1.113 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/1.366, allocations: 1.125 kB / 1.113 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/1.366, allocations: 31.31 kB / 1.113 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/1.366, allocations: 1.438 kB / 1.113 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003506/1.367, allocations: 75.08 kB / 1.113 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/1.367, allocations: 51.41 kB / 1.113 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.742e-05/1.367, allocations: 94.45 kB / 1.113 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.367, allocations: 27.61 kB / 1.113 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/1.367, allocations: 84.73 kB / 1.114 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.367, allocations: 9.734 kB / 1.114 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/1.367, allocations: 0.75 kB / 1.114 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/1.367, allocations: 316.9 kB / 1.114 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/1.367, allocations: 10.06 kB / 1.114 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/1.367, allocations: 14.12 kB / 1.114 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/1.367, allocations: 30.55 kB / 1.114 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.367, allocations: 3.906 kB / 1.114 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002227/1.367, allocations: 70.12 kB / 1.114 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.367, allocations: 4.75 kB / 1.114 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.367, allocations: 8.781 kB / 1.114 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.368, allocations: 1.281 kB / 1.114 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.368, allocations: 28.03 kB / 1.114 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.368, allocations: 4 kB / 1.114 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/1.368, allocations: 23.75 kB / 1.114 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.368, allocations: 2.391 kB / 1.114 GB, free: 14.35 MB / 0.6823 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 (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 5.619e-05/1.368, allocations: 109.9 kB / 1.114 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/1.368, allocations: 1.828 kB / 1.114 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/1.368, allocations: 12.95 kB / 1.114 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.368, allocations: 1.344 kB / 1.114 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.368, allocations: 3.938 kB / 1.114 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.368, allocations: 4.469 kB / 1.114 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/1.368, allocations: 150.2 kB / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.368, allocations: 256 / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/1.368, allocations: 37.09 kB / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/1.368, allocations: 0 / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.368, allocations: 2.578 kB / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.368, allocations: 0 / 1.114 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.368, allocations: 4 kB / 1.114 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002432/1.369, allocations: 167.8 kB / 1.115 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002878/1.369, allocations: 0.5427 MB / 1.115 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.218e-05/1.369, allocations: 78.05 kB / 1.115 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/1.369, allocations: 0.7969 kB / 1.115 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/1.369, allocations: 29.05 kB / 1.115 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/1.369, allocations: 10.91 kB / 1.115 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/1.369, allocations: 2.312 kB / 1.115 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.691e-05/1.369, allocations: 79.45 kB / 1.115 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008263/1.37, allocations: 15.36 kB / 1.115 GB, free: 13.22 MB / 0.6823 GB 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.0002012/1.37, allocations: 110.4 kB / 1.115 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.37, allocations: 31.14 kB / 1.115 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/1.37, allocations: 0 / 1.115 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.818e-05/1.371, allocations: 18.08 kB / 1.115 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.371, allocations: 3.609 kB / 1.115 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/1.371, allocations: 112.4 kB / 1.116 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003694/1.372, allocations: 0.6956 MB / 1.116 GB, free: 28.35 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/1.372, allocations: 0 / 1.116 GB, free: 28.35 MB / 0.698 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)