Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 4.055/4.055, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5698/4.625, allocations: 104.3 MB / 0.5319 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/4.873, allocations: 98.72 MB / 0.6283 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7249/5.598, allocations: 192.8 MB / 0.8166 GB, free: 55.45 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/5.599, allocations: 98.06 kB / 0.8167 GB, free: 55.45 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.3538/5.953, allocations: 85.19 MB / 0.8999 GB, free: 21.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/5.953, allocations: 8 kB / 0.8999 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/5.974, allocations: 1.522 MB / 0.9014 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/5.978, allocations: 1.232 MB / 0.9026 GB, free: 18.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/5.979, allocations: 40 kB / 0.9026 GB, free: 18.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005439/5.979, allocations: 71.61 kB / 0.9027 GB, free: 18.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005275/5.984, allocations: 1.758 MB / 0.9044 GB, free: 17.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005322/5.99, allocations: 2.104 MB / 0.9064 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/5.99, allocations: 11.84 kB / 0.9065 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002941/5.99, allocations: 8 kB / 0.9065 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/5.99, allocations: 85.64 kB / 0.9065 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/6.016, allocations: 10.33 MB / 0.9166 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/6.02, allocations: 1.652 MB / 0.9183 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001909/6.022, allocations: 0.9129 MB / 0.9191 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/6.022, allocations: 8.781 kB / 0.9192 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/6.022, allocations: 47.28 kB / 0.9192 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.797e-06/6.022, allocations: 4 kB / 0.9192 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02643/6.049, allocations: 5.804 MB / 0.9249 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/6.049, allocations: 222.9 kB / 0.9251 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/6.051, allocations: 0.7624 MB / 0.9258 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000452/6.052, allocations: 25.7 kB / 0.9259 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006371/6.053, allocations: 0.5191 MB / 0.9264 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008452/6.053, allocations: 437.4 kB / 0.9268 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/6.054, allocations: 0 / 0.9268 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002002/6.054, allocations: 353.9 kB / 0.9271 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/6.057, allocations: 0.9632 MB / 0.9281 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/6.06, allocations: 1.223 MB / 0.9292 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003692/6.063, allocations: 1.115 MB / 0.9303 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/6.064, allocations: 0 / 0.9303 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.01747/6.081, allocations: 3.68 MB / 0.9339 GB, free: 2.988 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/6.081, allocations: 8.156 kB / 0.9339 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/6.081, allocations: 8 kB / 0.9339 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/6.094, allocations: 1.575 MB / 0.9355 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/6.099, allocations: 359.5 kB / 0.9358 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04481/6.144, allocations: 23.31 MB / 0.9586 GB, free: 8.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005707/6.15, allocations: 203.9 kB / 0.9588 GB, free: 8.004 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007724/6.151, allocations: 59.97 kB / 0.9588 GB, free: 7.945 MB / 0.698 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.0006111/6.151, allocations: 139.7 kB / 0.959 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006447/6.152, allocations: 150.2 kB / 0.9591 GB, free: 7.656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/6.17, allocations: 3.788 MB / 0.9628 GB, free: 3.836 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.685e-05/6.171, allocations: 16 kB / 0.9628 GB, free: 3.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.435e-05/6.171, allocations: 12 kB / 0.9628 GB, free: 3.809 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/6.171, allocations: 3.984 kB / 0.9629 GB, free: 3.805 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03337/6.204, allocations: 6.026 MB / 0.9687 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/6.204, allocations: 4.344 kB / 0.9687 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004141/6.208, allocations: 315.5 kB / 0.969 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01236/6.221, allocations: 1.474 MB / 0.9705 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004126/6.221, allocations: 19.88 kB / 0.9705 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04402/6.265, allocations: 22.36 MB / 0.9923 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.282e-05/6.265, allocations: 3.938 kB / 0.9923 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01685/6.282, allocations: 3.664 MB / 0.9959 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0157/6.298, allocations: 4.066 MB / 0.9999 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/6.3, allocations: 459.2 kB / 1 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/6.3, allocations: 4 kB / 1 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/6.305, allocations: 203.7 kB / 1.001 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/6.306, allocations: 80.73 kB / 1.001 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/6.306, allocations: 47.97 kB / 1.001 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001566/6.307, allocations: 0.5723 MB / 1.001 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004829/6.312, allocations: 0.5117 MB / 1.002 GB, free: 10.1 MB / 0.7448 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.0007046/6.313, allocations: 146.8 kB / 1.002 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01225/6.325, allocations: 4.046 MB / 1.006 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/6.325, allocations: 4 kB / 1.006 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009062/6.334, allocations: 2.865 MB / 1.009 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/6.338, allocations: 408 kB / 1.009 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/6.351, allocations: 2.928 MB / 1.012 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003236/6.354, allocations: 1.557 MB / 1.013 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of SimCode: time 3.797e-06/6.354, allocations: 0 / 1.013 GB, free: 13.8 MB / 0.7605 GB