Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009207/0.0009207, allocations: 185.2 kB / 361.1 MB, free: 7.098 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.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007931/0.0007931, allocations: 83.41 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.176/0.1768, allocations: 121.5 MB / 0.8512 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.5924, allocations: 115.3 MB / 0.9638 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.7752, allocations: 208.8 MB / 1.168 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.7755, allocations: 96.73 kB / 1.168 GB, free: 10.97 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.1956/0.9712, allocations: 86.64 MB / 1.252 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.9712, allocations: 8 kB / 1.252 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.9822, allocations: 1.601 MB / 1.254 GB, free: 2.172 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.9874, allocations: 2.106 MB / 1.256 GB, free: 0 / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3104/1.298, allocations: 36.11 kB / 1.256 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/1.298, allocations: 69.92 kB / 1.256 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/1.301, allocations: 1.711 MB / 1.258 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/1.303, allocations: 2.094 MB / 1.26 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/1.303, allocations: 11.62 kB / 1.26 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.303, allocations: 4.75 kB / 1.26 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-05/1.303, allocations: 97.23 kB / 1.26 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/1.315, allocations: 10.32 MB / 1.27 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/1.317, allocations: 1.444 MB / 1.271 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/1.318, allocations: 0.8997 MB / 1.272 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/1.318, allocations: 8.531 kB / 1.272 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.318, allocations: 43.69 kB / 1.272 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/1.318, allocations: 1.875 kB / 1.272 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01457/1.332, allocations: 6.991 MB / 1.279 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.332, allocations: 228.2 kB / 1.279 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008308/1.333, allocations: 0.8042 MB / 1.28 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.333, allocations: 30.33 kB / 1.28 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.334, allocations: 0.5293 MB / 1.281 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.334, allocations: 0.4972 MB / 1.281 GB, free: 173 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.334, allocations: 0 / 1.281 GB, free: 173 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/1.334, allocations: 362.1 kB / 1.282 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/1.335, allocations: 1.137 MB / 1.283 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/1.337, allocations: 1.408 MB / 1.284 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.338, allocations: 1.308 MB / 1.285 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.338, allocations: 0 / 1.285 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009356/1.348, allocations: 4.52 MB / 1.29 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.348, allocations: 3.312 kB / 1.29 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.348, allocations: 4.875 kB / 1.29 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008141/1.356, allocations: 2.092 MB / 1.292 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/1.358, allocations: 339.8 kB / 1.292 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/1.379, allocations: 20.89 MB / 1.312 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.381, allocations: 207.4 kB / 1.313 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/1.382, allocations: 66.53 kB / 1.313 GB, free: 162.3 MB / 0.8542 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.0003586/1.382, allocations: 126.7 kB / 1.313 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.383, allocations: 163.2 kB / 1.313 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009875/1.392, allocations: 4.649 MB / 1.318 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/1.393, allocations: 14.84 kB / 1.318 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.115e-05/1.393, allocations: 21.94 kB / 1.318 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.393, allocations: 7.094 kB / 1.318 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.406, allocations: 6.633 MB / 1.324 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.406, allocations: 4.5 kB / 1.324 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.408, allocations: 290.8 kB / 1.324 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007443/1.415, allocations: 1.928 MB / 1.326 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.415, allocations: 18.11 kB / 1.326 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/1.435, allocations: 20 MB / 1.346 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.435, allocations: 4.875 kB / 1.346 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008837/1.444, allocations: 4.36 MB / 1.35 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008965/1.453, allocations: 4.751 MB / 1.355 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009668/1.454, allocations: 0.4944 MB / 1.355 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/1.455, allocations: 11.86 kB / 1.355 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.457, allocations: 212.4 kB / 1.355 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.457, allocations: 76.34 kB / 1.355 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.457, allocations: 54.34 kB / 1.356 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008507/1.458, allocations: 0.6068 MB / 1.356 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00261/1.461, allocations: 0.5892 MB / 1.357 GB, free: 148.9 MB / 0.8542 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.0004115/1.461, allocations: 188.6 kB / 1.357 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006138/1.467, allocations: 4.039 MB / 1.361 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.467, allocations: 4 kB / 1.361 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004262/1.472, allocations: 2.639 MB / 1.363 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/1.474, allocations: 426 kB / 1.364 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/1.48, allocations: 3.243 MB / 1.367 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.482, allocations: 1.617 MB / 1.369 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.482, allocations: 0 / 1.369 GB, free: 140.4 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)