Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.0.1-maint.8.0.x/package.mo): time 1.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009918/0.0009921, allocations: 179.2 kB / 361.1 MB, free: 7.117 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007818/0.0007818, allocations: 94.89 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1775/0.1783, allocations: 121.5 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.596, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.762, allocations: 181.1 MB / 1.141 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.7622, allocations: 96.97 kB / 1.141 GB, free: 6.805 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.06562/0.8279, allocations: 28.82 MB / 1.169 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.8279, allocations: 8 kB / 1.169 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.8303, allocations: 428.6 kB / 1.169 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.831, allocations: 483.2 kB / 1.17 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.8311, allocations: 15.98 kB / 1.17 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.705e-05/0.8311, allocations: 19.91 kB / 1.17 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000695/0.8319, allocations: 489.1 kB / 1.17 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.8326, allocations: 0.5514 MB / 1.171 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.8327, allocations: 4 kB / 1.171 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.8327, allocations: 4 kB / 1.171 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/0.8327, allocations: 24.64 kB / 1.171 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.8362, allocations: 2.745 MB / 1.173 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006443/0.8369, allocations: 322.4 kB / 1.174 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.8371, allocations: 160.8 kB / 1.174 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.8372, allocations: 97.09 kB / 1.174 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.8373, allocations: 30.56 kB / 1.174 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.8373, allocations: 0 / 1.174 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.004238/0.8415, allocations: 1.485 MB / 1.176 GB, free: 2.676 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.8416, allocations: 81.11 kB / 1.176 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.8419, allocations: 339.4 kB / 1.176 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.8419, allocations: 26.73 kB / 1.176 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.842, allocations: 203.6 kB / 1.176 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.8421, allocations: 78.91 kB / 1.176 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.8421, allocations: 0 / 1.176 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.8423, allocations: 350.6 kB / 1.177 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.8426, allocations: 247.2 kB / 1.177 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.8429, allocations: 337.5 kB / 1.177 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.8434, allocations: 297.5 kB / 1.177 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.8434, allocations: 0 / 1.177 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002825/0.8463, allocations: 1.01 MB / 1.178 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002895/0.8466, allocations: 0.794 MB / 1.179 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.8466, allocations: 1.875 kB / 1.179 GB, free: 14.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/0.8488, allocations: 409.2 kB / 1.18 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.8494, allocations: 119.8 kB / 1.18 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.8528, allocations: 2.951 MB / 1.183 GB, free: 11.19 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.8535, allocations: 84 kB / 1.183 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.8535, allocations: 12 kB / 1.183 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.443e-06/0.8535, allocations: 4 kB / 1.183 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007706/0.8543, allocations: 483.7 kB / 1.183 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.8543, allocations: 0 / 1.183 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.1e-06/0.8543, allocations: 4 kB / 1.183 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006612/0.855, allocations: 140 kB / 1.183 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.855, allocations: 4 kB / 1.183 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.8556, allocations: 71.91 kB / 1.183 GB, free: 10.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.8556, allocations: 16 kB / 1.183 GB, free: 10.39 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.8558, allocations: 113 kB / 1.183 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.8559, allocations: 31.62 kB / 1.183 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.8588, allocations: 1.064 MB / 1.185 GB, free: 9.164 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.8589, allocations: 10.09 kB / 1.185 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8589, allocations: 0 / 1.185 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8589, allocations: 0 / 1.185 GB, free: 9.156 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.8625, allocations: 1.687 MB / 1.186 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.8625, allocations: 0 / 1.186 GB, free: 7.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.8629, allocations: 80.02 kB / 1.186 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/0.8653, allocations: 0.5479 MB / 1.187 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.8653, allocations: 4 kB / 1.187 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.87, allocations: 4.053 MB / 1.191 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.87, allocations: 4 kB / 1.191 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002675/0.8727, allocations: 1.102 MB / 1.192 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00281/0.8755, allocations: 1.502 MB / 1.193 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/0.8757, allocations: 168.6 kB / 1.193 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.8758, allocations: 7.984 kB / 1.193 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/0.8765, allocations: 75.89 kB / 1.194 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.8766, allocations: 19.98 kB / 1.194 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.333e-05/0.8766, allocations: 11.98 kB / 1.194 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002735/0.8769, allocations: 263.1 kB / 1.194 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001894/0.8788, allocations: 215.8 kB / 1.194 GB, free: 15.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.879, allocations: 162.4 kB / 1.194 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.8806, allocations: 0.9643 MB / 1.195 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8806, allocations: 0 / 1.195 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007557/0.8814, allocations: 0.5389 MB / 1.196 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.8819, allocations: 101.1 kB / 1.196 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.8834, allocations: 0.7728 MB / 1.196 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.8839, allocations: 0.9469 MB / 1.197 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of SimCode: time 2.7e-07/0.8839, allocations: 0 / 1.197 GB, free: 11.45 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)