Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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 7.0.1/package.mo): time 2.337/2.337, allocations: 248.6 MB / 255.9 MB, free: 7.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001664, allocations: 189.2 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.1 MB / 0.5658 GB, free: 444 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001403/0.001402, allocations: 79.39 kB / 0.67 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.512/0.5134, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.8149, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7671/1.582, allocations: 156.1 MB / 1.036 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/1.583, allocations: 92.75 kB / 1.036 GB, free: 1.664 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.4061/1.989, allocations: 86.98 MB / 1.121 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.989, allocations: 12 kB / 1.121 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009191/1.998, allocations: 0.6143 MB / 1.122 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/2.003, allocations: 0.8881 MB / 1.122 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/2.003, allocations: 47.91 kB / 1.122 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/2.004, allocations: 72 kB / 1.123 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007587/2.012, allocations: 1.399 MB / 1.124 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/2.022, allocations: 2.156 MB / 1.126 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/2.022, allocations: 19.78 kB / 1.126 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006331/2.023, allocations: 12 kB / 1.126 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004157/2.023, allocations: 150.3 kB / 1.126 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03427/2.058, allocations: 12.24 MB / 1.138 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/2.064, allocations: 1.488 MB / 1.14 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002531/2.066, allocations: 0.5973 MB / 1.14 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/2.067, allocations: 102 kB / 1.14 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/2.067, allocations: 51.41 kB / 1.14 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 7.204e-06/2.067, allocations: 0 / 1.14 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.01434/2.081, allocations: 2.461 MB / 1.143 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/2.081, allocations: 72.25 kB / 1.143 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/2.084, allocations: 0.6561 MB / 1.143 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/2.085, allocations: 25.7 kB / 1.143 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/2.086, allocations: 0.6027 MB / 1.144 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/2.086, allocations: 370.5 kB / 1.144 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/2.086, allocations: 0 / 1.144 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002001/2.087, allocations: 361.9 kB / 1.145 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/2.089, allocations: 0.5857 MB / 1.145 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003369/2.092, allocations: 1.013 MB / 1.146 GB, free: 9.176 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005864/2.098, allocations: 0.8693 MB / 1.147 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/2.098, allocations: 4 kB / 1.147 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008725/2.107, allocations: 2.044 MB / 1.149 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/2.107, allocations: 8 kB / 1.149 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/2.107, allocations: 12 kB / 1.149 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/2.108, allocations: 250.9 kB / 1.149 GB, free: 5.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/2.111, allocations: 343.4 kB / 1.15 GB, free: 5.602 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/2.125, allocations: 10.29 MB / 1.16 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/2.127, allocations: 59.92 kB / 1.16 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/2.127, allocations: 71.92 kB / 1.16 GB, free: 10.27 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004638/2.128, allocations: 152.5 kB / 1.16 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/2.128, allocations: 118.6 kB / 1.16 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006187/2.134, allocations: 1.693 MB / 1.162 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/2.134, allocations: 12 kB / 1.162 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/2.134, allocations: 7.984 kB / 1.162 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/2.134, allocations: 7.984 kB / 1.162 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/2.145, allocations: 3.119 MB / 1.165 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/2.145, allocations: 12.12 kB / 1.165 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/2.147, allocations: 191.7 kB / 1.165 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/2.149, allocations: 242.7 kB / 1.165 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002406/2.149, allocations: 15.91 kB / 1.165 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/2.162, allocations: 10.26 MB / 1.175 GB, free: 9.324 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/2.162, allocations: 11.94 kB / 1.175 GB, free: 9.312 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00602/2.168, allocations: 2.089 MB / 1.177 GB, free: 6.992 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006175/2.174, allocations: 2.487 MB / 1.18 GB, free: 4.27 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/2.175, allocations: 319.4 kB / 1.18 GB, free: 3.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/2.176, allocations: 11.98 kB / 1.18 GB, free: 3.926 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/2.177, allocations: 47.84 kB / 1.18 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/2.177, allocations: 68.55 kB / 1.18 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/2.178, allocations: 39.98 kB / 1.18 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.001188/2.179, allocations: 0.4939 MB / 1.181 GB, free: 3.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003186/2.182, allocations: 347.9 kB / 1.181 GB, free: 2.93 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004423/2.182, allocations: 139 kB / 1.181 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006107/2.189, allocations: 2.32 MB / 1.183 GB, free: 388 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.189, allocations: 0.875 kB / 1.183 GB, free: 388 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003965/2.193, allocations: 1.522 MB / 1.185 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/2.196, allocations: 270.1 kB / 1.185 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00841/2.204, allocations: 2.156 MB / 1.187 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/2.207, allocations: 1.456 MB / 1.189 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of SimCode: time 1.753e-06/2.207, allocations: 0 / 1.189 GB, free: 10.75 MB / 0.8073 GB