Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.Lines.Examples.ACLine,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.481/2.481, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.00167/0.00167, allocations: 195.4 kB / 315.1 MB, free: 4.273 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.978/1.978, allocations: 205.1 MB / 0.5658 GB, free: 384 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.001246/0.001246, allocations: 90.88 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5206/0.5219, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.7409, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.791/1.532, allocations: 200.8 MB / 1.08 GB, free: 6.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/1.532, allocations: 97.38 kB / 1.08 GB, free: 6.582 MB / 0.698 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.4372/1.97, allocations: 85.13 MB / 1.163 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.97, allocations: 11.98 kB / 1.163 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02261/1.992, allocations: 1.515 MB / 1.164 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/1.998, allocations: 1.235 MB / 1.165 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/1.998, allocations: 36 kB / 1.166 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/1.998, allocations: 75.91 kB / 1.166 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005741/2.004, allocations: 1.758 MB / 1.167 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006286/2.01, allocations: 2.104 MB / 1.169 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-05/2.01, allocations: 19.77 kB / 1.169 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002992/2.011, allocations: 4 kB / 1.169 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/2.011, allocations: 86.28 kB / 1.169 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/2.041, allocations: 10.33 MB / 1.18 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/2.046, allocations: 1.645 MB / 1.181 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002471/2.049, allocations: 0.9051 MB / 1.182 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/2.049, allocations: 12.77 kB / 1.182 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/2.049, allocations: 47.33 kB / 1.182 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=89): time 5.169e-06/2.049, allocations: 0 / 1.182 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of matching and sorting (n=131): time 0.02771/2.077, allocations: 5.806 MB / 1.188 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/2.077, allocations: 222.9 kB / 1.188 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/2.079, allocations: 0.7662 MB / 1.189 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004142/2.079, allocations: 29.69 kB / 1.189 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000453/2.08, allocations: 0.5191 MB / 1.189 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/2.081, allocations: 437.4 kB / 1.19 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/2.081, allocations: 3.938 kB / 1.19 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001781/2.081, allocations: 357.9 kB / 1.19 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/2.084, allocations: 0.9632 MB / 1.191 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/2.087, allocations: 1.226 MB / 1.192 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/2.091, allocations: 1.115 MB / 1.193 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/2.091, allocations: 4 kB / 1.193 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01722/2.108, allocations: 3.676 MB / 1.197 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/2.108, allocations: 4.75 kB / 1.197 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/2.108, allocations: 4 kB / 1.197 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/2.122, allocations: 1.579 MB / 1.198 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/2.127, allocations: 367.4 kB / 1.199 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0524/2.179, allocations: 23.32 MB / 1.222 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00506/2.184, allocations: 203.7 kB / 1.222 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/2.185, allocations: 59.97 kB / 1.222 GB, free: 10.65 MB / 0.8386 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00056/2.185, allocations: 128.7 kB / 1.222 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/2.186, allocations: 146.3 kB / 1.222 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/2.204, allocations: 3.786 MB / 1.226 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/2.204, allocations: 12 kB / 1.226 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-05/2.204, allocations: 15.91 kB / 1.226 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/2.204, allocations: 16.06 kB / 1.226 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02645/2.231, allocations: 6.024 MB / 1.232 GB, free: 324 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/2.231, allocations: 4 kB / 1.232 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005028/2.236, allocations: 311.8 kB / 1.232 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/2.25, allocations: 1.462 MB / 1.233 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005028/2.25, allocations: 23.95 kB / 1.233 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4191/2.669, allocations: 22.34 MB / 1.255 GB, free: 348.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/2.669, allocations: 7.406 kB / 1.255 GB, free: 348.8 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02213/2.691, allocations: 3.66 MB / 1.259 GB, free: 348.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02122/2.713, allocations: 4.081 MB / 1.263 GB, free: 347.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.714, allocations: 450.5 kB / 1.263 GB, free: 347.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007408/2.715, allocations: 11.28 kB / 1.263 GB, free: 347.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004923/2.72, allocations: 199.9 kB / 1.263 GB, free: 347.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/2.721, allocations: 79.47 kB / 1.264 GB, free: 347.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004935/2.721, allocations: 47.02 kB / 1.264 GB, free: 347.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00132/2.723, allocations: 0.5763 MB / 1.264 GB, free: 347.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004288/2.727, allocations: 0.5096 MB / 1.265 GB, free: 347.1 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000671/2.728, allocations: 147 kB / 1.265 GB, free: 347 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01265/2.74, allocations: 4.051 MB / 1.269 GB, free: 345.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.74, allocations: 3.156 kB / 1.269 GB, free: 345.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008436/2.749, allocations: 2.856 MB / 1.272 GB, free: 344.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/2.753, allocations: 411.2 kB / 1.272 GB, free: 344.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/2.77, allocations: 2.926 MB / 1.275 GB, free: 343.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/2.773, allocations: 1.567 MB / 1.276 GB, free: 343 MB / 0.8542 GB Notification: Performance of SimCode: time 1.993e-06/2.773, allocations: 3.469 kB / 1.276 GB, free: 343 MB / 0.8542 GB