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_L_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_L_N,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.869/3.869, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5031/4.372, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/4.597, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7177/5.315, allocations: 156.9 MB / 0.7815 GB, free: 62.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000457/5.315, allocations: 96.66 kB / 0.7816 GB, free: 62.51 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.8558/6.171, allocations: 202.5 MB / 0.9793 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.051e-05/6.171, allocations: 8 kB / 0.9793 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/6.183, allocations: 1.031 MB / 0.9803 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/6.198, allocations: 3.418 MB / 0.9837 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/6.198, allocations: 176 kB / 0.9838 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003075/6.202, allocations: 327.9 kB / 0.9841 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02422/6.226, allocations: 5.634 MB / 0.9896 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03606/6.262, allocations: 7.865 MB / 0.9973 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/6.262, allocations: 27.78 kB / 0.9973 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/6.265, allocations: 12 kB / 0.9974 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005541/6.265, allocations: 326.8 kB / 0.9977 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08902/6.354, allocations: 39.14 MB / 1.036 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/6.361, allocations: 2.154 MB / 1.038 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005732/6.366, allocations: 1.932 MB / 1.04 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002034/6.367, allocations: 22 kB / 1.04 GB, free: 5.156 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/6.367, allocations: 48.56 kB / 1.04 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=179): time 7.995e-06/6.367, allocations: 0 / 1.04 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=182): time 0.02464/6.391, allocations: 6.075 MB / 1.046 GB, free: 15 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/6.392, allocations: 73.41 kB / 1.046 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004481/6.396, allocations: 1.097 MB / 1.047 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005471/6.397, allocations: 25.7 kB / 1.047 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002771/6.4, allocations: 1.995 MB / 1.049 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00165/6.401, allocations: 0.6004 MB / 1.05 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/6.402, allocations: 0 / 1.05 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0005484/6.402, allocations: 394.3 kB / 1.05 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004963/6.407, allocations: 1.18 MB / 1.051 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006468/6.414, allocations: 1.846 MB / 1.053 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004695/6.419, allocations: 1.536 MB / 1.054 GB, free: 5.895 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.771e-05/6.419, allocations: 4 kB / 1.054 GB, free: 5.891 MB / 0.7917 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0185/6.437, allocations: 4.419 MB / 1.059 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/6.437, allocations: 4 kB / 1.059 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-05/6.437, allocations: 24 kB / 1.059 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/6.448, allocations: 1.562 MB / 1.06 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003616/6.451, allocations: 331.5 kB / 1.061 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05317/6.504, allocations: 15.54 MB / 1.076 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003245/6.508, allocations: 47.95 kB / 1.076 GB, free: 15.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/6.508, allocations: 96 kB / 1.076 GB, free: 15.38 MB / 0.823 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.0005566/6.509, allocations: 164.2 kB / 1.076 GB, free: 15.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/6.509, allocations: 225.4 kB / 1.076 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/6.523, allocations: 4.071 MB / 1.08 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/6.523, allocations: 27.91 kB / 1.08 GB, free: 10.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/6.523, allocations: 19.98 kB / 1.08 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/6.523, allocations: 7.969 kB / 1.08 GB, free: 10.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/6.549, allocations: 8.07 MB / 1.088 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/6.549, allocations: 4 kB / 1.088 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/6.551, allocations: 159.8 kB / 1.088 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01049/6.561, allocations: 1.53 MB / 1.09 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006478/6.562, allocations: 11.98 kB / 1.09 GB, free: 0.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3686/6.931, allocations: 15.54 MB / 1.105 GB, free: 249.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/6.931, allocations: 3.844 kB / 1.105 GB, free: 249.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01249/6.943, allocations: 4.481 MB / 1.109 GB, free: 248.6 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0125/6.956, allocations: 4.914 MB / 1.114 GB, free: 247.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/6.958, allocations: 0.5305 MB / 1.115 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/6.958, allocations: 3.906 kB / 1.115 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/6.96, allocations: 36.91 kB / 1.115 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/6.961, allocations: 95.14 kB / 1.115 GB, free: 247.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/6.961, allocations: 47.69 kB / 1.115 GB, free: 247.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001959/6.963, allocations: 0.81 MB / 1.116 GB, free: 247.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006341/6.969, allocations: 0.9009 MB / 1.117 GB, free: 247.2 MB / 0.823 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.0006456/6.97, allocations: 126 kB / 1.117 GB, free: 247.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0122/6.982, allocations: 4.002 MB / 1.121 GB, free: 246.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/6.982, allocations: 3.438 kB / 1.121 GB, free: 246.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/6.993, allocations: 2.505 MB / 1.123 GB, free: 246.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008151/7.001, allocations: 0.6011 MB / 1.124 GB, free: 246.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/7.039, allocations: 7.055 MB / 1.131 GB, free: 244.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009866/7.049, allocations: 3.691 MB / 1.134 GB, free: 243.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.425e-06/7.049, allocations: 0 / 1.134 GB, free: 243.8 MB / 0.823 GB