Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.396/1.396, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.0009883/0.0009882, allocations: 175.8 kB / 366.3 MB, free: 1.988 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.106/1.106, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000841/0.0008409, allocations: 98.08 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2005/0.2014, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.6469, allocations: 116.3 MB / 0.9727 GB, free: 68.79 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.8474, allocations: 209.8 MB / 1.178 GB, free: 2.637 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.8477, allocations: 100.4 kB / 1.178 GB, free: 2.539 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.4925/1.34, allocations: 86.6 MB / 1.262 GB, free: 202.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.34, allocations: 12.84 kB / 1.262 GB, free: 202.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/1.352, allocations: 1.605 MB / 1.264 GB, free: 202.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/1.356, allocations: 2.1 MB / 1.266 GB, free: 201.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/1.356, allocations: 40.84 kB / 1.266 GB, free: 201.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.357, allocations: 65.62 kB / 1.266 GB, free: 201.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002299/1.359, allocations: 1.713 MB / 1.268 GB, free: 200.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/1.362, allocations: 2.091 MB / 1.27 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/1.362, allocations: 17.28 kB / 1.27 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/1.362, allocations: 2.906 kB / 1.27 GB, free: 199.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.599e-05/1.362, allocations: 91.59 kB / 1.27 GB, free: 199.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/1.374, allocations: 10.35 MB / 1.28 GB, free: 192.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/1.376, allocations: 1.436 MB / 1.281 GB, free: 191.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/1.376, allocations: 0.9088 MB / 1.282 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/1.377, allocations: 9.562 kB / 1.282 GB, free: 191.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.377, allocations: 46.31 kB / 1.282 GB, free: 191.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.524e-06/1.377, allocations: 7.938 kB / 1.282 GB, free: 191.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.01518/1.392, allocations: 6.983 MB / 1.289 GB, free: 188.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.392, allocations: 228.8 kB / 1.289 GB, free: 187.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.393, allocations: 0.8071 MB / 1.29 GB, free: 187.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/1.393, allocations: 25.7 kB / 1.29 GB, free: 187.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/1.393, allocations: 0.5288 MB / 1.291 GB, free: 187 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/1.394, allocations: 0.4973 MB / 1.291 GB, free: 186.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.394, allocations: 0 / 1.291 GB, free: 186.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.746e-05/1.394, allocations: 365.9 kB / 1.291 GB, free: 186.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/1.395, allocations: 1.136 MB / 1.292 GB, free: 185.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/1.397, allocations: 1.412 MB / 1.294 GB, free: 184.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/1.398, allocations: 1.309 MB / 1.295 GB, free: 184 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.398, allocations: 1.469 kB / 1.295 GB, free: 184 MB / 0.823 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009915/1.408, allocations: 4.515 MB / 1.3 GB, free: 180.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.408, allocations: 4 kB / 1.3 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.408, allocations: 9.875 kB / 1.3 GB, free: 180.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00806/1.416, allocations: 2.094 MB / 1.302 GB, free: 178.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/1.418, allocations: 335.5 kB / 1.302 GB, free: 178.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/1.439, allocations: 20.89 MB / 1.322 GB, free: 156.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/1.442, allocations: 219.6 kB / 1.323 GB, free: 156.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/1.442, allocations: 63.97 kB / 1.323 GB, free: 156.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003521/1.443, allocations: 116.8 kB / 1.323 GB, free: 156.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/1.443, allocations: 162.1 kB / 1.323 GB, free: 156.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009868/1.453, allocations: 4.656 MB / 1.327 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/1.453, allocations: 12 kB / 1.327 GB, free: 151.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.453, allocations: 20 kB / 1.327 GB, free: 151.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/1.453, allocations: 7.969 kB / 1.327 GB, free: 151.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/1.465, allocations: 6.634 MB / 1.334 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.465, allocations: 4 kB / 1.334 GB, free: 144.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.467, allocations: 283.2 kB / 1.334 GB, free: 144.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007249/1.474, allocations: 1.933 MB / 1.336 GB, free: 142.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.474, allocations: 27.95 kB / 1.336 GB, free: 142.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/1.494, allocations: 20 MB / 1.356 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.494, allocations: 4.094 kB / 1.356 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008486/1.503, allocations: 4.362 MB / 1.36 GB, free: 117.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008501/1.511, allocations: 4.76 MB / 1.365 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/1.512, allocations: 0.4951 MB / 1.365 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/1.513, allocations: 4 kB / 1.365 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/1.515, allocations: 211.7 kB / 1.365 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.515, allocations: 77.11 kB / 1.365 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.515, allocations: 59.97 kB / 1.365 GB, free: 111.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006526/1.516, allocations: 0.6096 MB / 1.366 GB, free: 110.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002436/1.518, allocations: 0.5898 MB / 1.367 GB, free: 110.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003579/1.519, allocations: 175 kB / 1.367 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006054/1.525, allocations: 4.039 MB / 1.371 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.525, allocations: 4 kB / 1.371 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004373/1.529, allocations: 2.634 MB / 1.373 GB, free: 103.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.531, allocations: 427.2 kB / 1.374 GB, free: 102.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006329/1.537, allocations: 3.245 MB / 1.377 GB, free: 99.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.538, allocations: 1.62 MB / 1.378 GB, free: 97.85 MB / 0.823 GB Notification: Performance of SimCode: time 4.81e-07/1.538, allocations: 4 kB / 1.378 GB, free: 97.84 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)