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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.595/2.595, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.001732/0.001731, allocations: 188.4 kB / 315.1 MB, free: 4.234 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.056/2.056, allocations: 205.1 MB / 0.5658 GB, free: 272 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.001387/0.001387, allocations: 88.56 kB / 0.67 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4964, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.7112, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7332/1.445, allocations: 164.7 MB / 1.044 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000522/1.445, allocations: 92.56 kB / 1.044 GB, free: 9.215 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.8626/2.308, allocations: 182.4 MB / 1.223 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.989e-05/2.308, allocations: 12 kB / 1.223 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/2.319, allocations: 0.9233 MB / 1.223 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/2.331, allocations: 3.01 MB / 1.226 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/2.331, allocations: 151.9 kB / 1.227 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002474/2.334, allocations: 279.9 kB / 1.227 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02094/2.355, allocations: 4.689 MB / 1.231 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/2.384, allocations: 6.699 MB / 1.238 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003394/2.384, allocations: 27.77 kB / 1.238 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/2.386, allocations: 12 kB / 1.238 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004747/2.386, allocations: 296.8 kB / 1.238 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4044/2.791, allocations: 34.2 MB / 1.272 GB, free: 286.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003423/2.794, allocations: 1.49 MB / 1.273 GB, free: 286.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003401/2.798, allocations: 1.304 MB / 1.274 GB, free: 286.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/2.798, allocations: 16.12 kB / 1.274 GB, free: 286.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/2.798, allocations: 49.08 kB / 1.274 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 5.14e-06/2.798, allocations: 5.906 kB / 1.274 GB, free: 286.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01495/2.813, allocations: 4.586 MB / 1.279 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/2.813, allocations: 63.34 kB / 1.279 GB, free: 285.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/2.815, allocations: 1.069 MB / 1.28 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003451/2.816, allocations: 28.7 kB / 1.28 GB, free: 285.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/2.817, allocations: 1.745 MB / 1.282 GB, free: 284.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007637/2.818, allocations: 469.4 kB / 1.282 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/2.818, allocations: 0 / 1.282 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001554/2.818, allocations: 381.3 kB / 1.283 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/2.82, allocations: 0.8974 MB / 1.283 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/2.823, allocations: 1.547 MB / 1.285 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/2.826, allocations: 1.174 MB / 1.286 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/2.826, allocations: 10.22 kB / 1.286 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01204/2.838, allocations: 3.36 MB / 1.289 GB, free: 283 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.838, allocations: 3.5 kB / 1.289 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/2.838, allocations: 25.91 kB / 1.289 GB, free: 283 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005772/2.844, allocations: 0.9554 MB / 1.29 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/2.847, allocations: 336.1 kB / 1.291 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03242/2.879, allocations: 19.75 MB / 1.31 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/2.883, allocations: 48.59 kB / 1.31 GB, free: 268.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007745/2.884, allocations: 91.52 kB / 1.31 GB, free: 268.5 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 (182): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001358/2.886, allocations: 166.9 kB / 1.31 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/2.887, allocations: 192.8 kB / 1.31 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/2.9, allocations: 2.971 MB / 1.313 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/2.9, allocations: 18.53 kB / 1.313 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.795e-05/2.9, allocations: 11.22 kB / 1.313 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/2.9, allocations: 9.562 kB / 1.313 GB, free: 268.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02482/2.925, allocations: 6.206 MB / 1.319 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/2.925, allocations: 3.281 kB / 1.319 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/2.927, allocations: 159 kB / 1.32 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0052/2.932, allocations: 0.9282 MB / 1.32 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/2.932, allocations: 3.875 kB / 1.32 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02841/2.961, allocations: 19.76 MB / 1.34 GB, free: 253 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/2.961, allocations: 6.75 kB / 1.34 GB, free: 253 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01129/2.972, allocations: 3.39 MB / 1.343 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01088/2.983, allocations: 3.824 MB / 1.347 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/2.985, allocations: 452.1 kB / 1.347 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/2.985, allocations: 7.531 kB / 1.347 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/2.987, allocations: 33.86 kB / 1.347 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/2.987, allocations: 81.69 kB / 1.347 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/2.987, allocations: 35.09 kB / 1.347 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001588/2.989, allocations: 0.786 MB / 1.348 GB, free: 250.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004887/2.994, allocations: 0.732 MB / 1.349 GB, free: 250.5 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 (85): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004505/2.994, allocations: 123.4 kB / 1.349 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01009/3.005, allocations: 3.8 MB / 1.353 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.041e-05/3.005, allocations: 0 / 1.353 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007853/3.013, allocations: 2.592 MB / 1.355 GB, free: 248 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/3.018, allocations: 0.5823 MB / 1.356 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/3.04, allocations: 5.657 MB / 1.361 GB, free: 246.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009443/3.05, allocations: 3.251 MB / 1.365 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.334e-06/3.05, allocations: 0 / 1.365 GB, free: 245.8 MB / 0.8542 GB