Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.488/2.488, allocations: 248.6 MB / 255.9 MB, free: 7.227 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.002386/0.002386, allocations: 185.2 kB / 315.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001276/0.001276, allocations: 102.1 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5219/0.5232, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.7453, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7454/1.491, allocations: 164.9 MB / 1.044 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/1.491, allocations: 98.05 kB / 1.045 GB, free: 9.02 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.9689/2.46, allocations: 202.5 MB / 1.242 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/2.46, allocations: 8 kB / 1.242 GB, free: 6.742 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/2.472, allocations: 1.035 MB / 1.243 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/2.487, allocations: 3.422 MB / 1.247 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004029/2.487, allocations: 180 kB / 1.247 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002705/2.49, allocations: 327.9 kB / 1.247 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5139/3.004, allocations: 5.628 MB / 1.253 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02976/3.034, allocations: 7.861 MB / 1.26 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/3.034, allocations: 33.03 kB / 1.26 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/3.036, allocations: 15.22 kB / 1.26 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005732/3.037, allocations: 327.2 kB / 1.261 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06802/3.105, allocations: 39.12 MB / 1.299 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/3.11, allocations: 2.147 MB / 1.301 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004541/3.115, allocations: 1.94 MB / 1.303 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/3.115, allocations: 20.16 kB / 1.303 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/3.115, allocations: 56.59 kB / 1.303 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=179): time 4.548e-06/3.115, allocations: 0 / 1.303 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.0209/3.136, allocations: 6.071 MB / 1.309 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/3.136, allocations: 74.12 kB / 1.309 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/3.139, allocations: 1.093 MB / 1.31 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/3.14, allocations: 29.58 kB / 1.31 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/3.141, allocations: 1.984 MB / 1.312 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009922/3.142, allocations: 0.606 MB / 1.313 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002902/3.143, allocations: 0 / 1.313 GB, free: 100.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002227/3.143, allocations: 401.3 kB / 1.313 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/3.146, allocations: 1.177 MB / 1.314 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/3.15, allocations: 1.84 MB / 1.316 GB, free: 99.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/3.154, allocations: 1.53 MB / 1.317 GB, free: 99.78 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.604e-05/3.154, allocations: 7.875 kB / 1.317 GB, free: 99.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01505/3.169, allocations: 4.418 MB / 1.322 GB, free: 99.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/3.17, allocations: 7.031 kB / 1.322 GB, free: 99.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-05/3.17, allocations: 18.19 kB / 1.322 GB, free: 99.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007362/3.177, allocations: 1.557 MB / 1.323 GB, free: 99.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/3.181, allocations: 331.8 kB / 1.324 GB, free: 99.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0375/3.218, allocations: 15.56 MB / 1.339 GB, free: 94.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/3.221, allocations: 49.7 kB / 1.339 GB, free: 94.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/3.222, allocations: 97.69 kB / 1.339 GB, free: 94.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005503/3.222, allocations: 161.8 kB / 1.339 GB, free: 94.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007047/3.223, allocations: 216.3 kB / 1.339 GB, free: 94.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/3.236, allocations: 4.077 MB / 1.343 GB, free: 93.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.125e-05/3.236, allocations: 20.53 kB / 1.343 GB, free: 93.99 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.958e-05/3.236, allocations: 21.12 kB / 1.343 GB, free: 93.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-05/3.236, allocations: 7.266 kB / 1.343 GB, free: 93.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/3.261, allocations: 8.073 MB / 1.351 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/3.261, allocations: 3.688 kB / 1.351 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/3.263, allocations: 160.6 kB / 1.351 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008881/3.271, allocations: 1.529 MB / 1.353 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006434/3.272, allocations: 3.375 kB / 1.353 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05035/3.323, allocations: 15.55 MB / 1.368 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.278e-06/3.323, allocations: 9.656 kB / 1.368 GB, free: 88.28 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/3.336, allocations: 4.485 MB / 1.372 GB, free: 86.77 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01275/3.348, allocations: 4.921 MB / 1.377 GB, free: 84.34 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/3.35, allocations: 0.521 MB / 1.378 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009911/3.351, allocations: 3.625 kB / 1.378 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/3.354, allocations: 43.69 kB / 1.378 GB, free: 84.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004798/3.354, allocations: 92.16 kB / 1.378 GB, free: 84.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/3.355, allocations: 50.59 kB / 1.378 GB, free: 84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001854/3.356, allocations: 0.808 MB / 1.379 GB, free: 83.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006466/3.363, allocations: 0.9025 MB / 1.38 GB, free: 83.65 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006946/3.364, allocations: 123.8 kB / 1.38 GB, free: 83.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01236/3.376, allocations: 4.005 MB / 1.384 GB, free: 82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/3.376, allocations: 0 / 1.384 GB, free: 82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008483/3.385, allocations: 2.501 MB / 1.386 GB, free: 80.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006307/3.391, allocations: 0.6079 MB / 1.387 GB, free: 80.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/3.422, allocations: 7.047 MB / 1.394 GB, free: 78.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01133/3.433, allocations: 3.7 MB / 1.397 GB, free: 76.87 MB / 0.8542 GB Notification: Performance of SimCode: time 1.763e-06/3.433, allocations: 0 / 1.397 GB, free: 76.87 MB / 0.8542 GB