Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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 loadModel(Buildings): time 3.892/3.892, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5199/4.412, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/4.626, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6518/5.278, allocations: 182.1 MB / 0.8062 GB, free: 56.02 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/5.278, allocations: 96.64 kB / 0.8063 GB, free: 56.02 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.4194/5.697, allocations: 115.1 MB / 0.9186 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/5.697, allocations: 8 kB / 0.9187 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00717/5.705, allocations: 0.6518 MB / 0.9193 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007975/5.713, allocations: 2.062 MB / 0.9213 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/5.713, allocations: 96 kB / 0.9214 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/5.714, allocations: 175.9 kB / 0.9216 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01177/5.726, allocations: 3.093 MB / 0.9246 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/5.743, allocations: 4.212 MB / 0.9287 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001895/5.744, allocations: 19.78 kB / 0.9287 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000994/5.745, allocations: 8 kB / 0.9287 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002692/5.745, allocations: 177.8 kB / 0.9289 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03902/5.784, allocations: 21.05 MB / 0.9494 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/5.787, allocations: 1.188 MB / 0.9506 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002593/5.789, allocations: 1.019 MB / 0.9516 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/5.79, allocations: 16.94 kB / 0.9516 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.476e-05/5.79, allocations: 47.56 kB / 0.9517 GB, free: 13.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=107): time 6.683e-06/5.79, allocations: 0 / 0.9517 GB, free: 13.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=138): time 0.01781/5.807, allocations: 4.795 MB / 0.9563 GB, free: 8.906 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/5.808, allocations: 72.72 kB / 0.9564 GB, free: 8.824 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/5.81, allocations: 0.8268 MB / 0.9572 GB, free: 7.988 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003354/5.81, allocations: 25.7 kB / 0.9572 GB, free: 7.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000972/5.811, allocations: 1.135 MB / 0.9584 GB, free: 6.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007364/5.812, allocations: 465.1 kB / 0.9588 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/5.812, allocations: 0 / 0.9588 GB, free: 6.344 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002344/5.812, allocations: 373.8 kB / 0.9592 GB, free: 5.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003864/5.816, allocations: 0.859 MB / 0.96 GB, free: 5.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/5.819, allocations: 1.323 MB / 0.9613 GB, free: 3.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/5.822, allocations: 1.107 MB / 0.9624 GB, free: 2.484 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/5.822, allocations: 4 kB / 0.9624 GB, free: 2.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01142/5.834, allocations: 3.261 MB / 0.9656 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/5.834, allocations: 8.062 kB / 0.9656 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/5.834, allocations: 12 kB / 0.9656 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005872/5.84, allocations: 1.101 MB / 0.9667 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/5.842, allocations: 251.6 kB / 0.9669 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03238/5.875, allocations: 11.33 MB / 0.978 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/5.877, allocations: 39.95 kB / 0.978 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/5.877, allocations: 72 kB / 0.9781 GB, free: 2.066 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004108/5.878, allocations: 140.5 kB / 0.9782 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004325/5.878, allocations: 154.1 kB / 0.9783 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/5.89, allocations: 3.045 MB / 0.9813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/5.89, allocations: 12 kB / 0.9813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/5.89, allocations: 12 kB / 0.9813 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/5.89, allocations: 7.969 kB / 0.9813 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/5.908, allocations: 5.611 MB / 0.9868 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/5.909, allocations: 4.562 kB / 0.9868 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/5.91, allocations: 143.9 kB / 0.987 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005321/5.915, allocations: 1.021 MB / 0.988 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/5.916, allocations: 12 kB / 0.988 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/5.942, allocations: 11.01 MB / 0.9987 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/5.942, allocations: 8 kB / 0.9987 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009696/5.952, allocations: 3.266 MB / 1.002 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009689/5.962, allocations: 3.669 MB / 1.006 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/5.963, allocations: 407.2 kB / 1.006 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/5.964, allocations: 11.91 kB / 1.006 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/5.965, allocations: 39.89 kB / 1.006 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/5.965, allocations: 80.73 kB / 1.006 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/5.965, allocations: 36 kB / 1.006 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001393/5.967, allocations: 0.6243 MB / 1.007 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003802/5.971, allocations: 0.5742 MB / 1.007 GB, free: 3.461 MB / 0.7448 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003843/5.971, allocations: 119 kB / 1.007 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008632/5.98, allocations: 2.795 MB / 1.01 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/5.98, allocations: 8.062 kB / 1.01 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005933/5.986, allocations: 1.71 MB / 1.012 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/5.989, allocations: 370.4 kB / 1.012 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/6.006, allocations: 4.348 MB / 1.016 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005538/6.011, allocations: 2.425 MB / 1.019 GB, free: 7.484 MB / 0.7605 GB Notification: Performance of SimCode: time 1.694e-06/6.011, allocations: 0 / 1.019 GB, free: 7.484 MB / 0.7605 GB