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_R_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_R_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.72/3.72, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4698/4.189, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/4.417, allocations: 98.72 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6146/5.032, allocations: 157.3 MB / 0.7819 GB, free: 62.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/5.032, allocations: 95.59 kB / 0.782 GB, free: 62.58 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.8639/5.896, allocations: 205.2 MB / 0.9824 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/5.896, allocations: 11.98 kB / 0.9824 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/5.909, allocations: 1.132 MB / 0.9835 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/5.923, allocations: 3.72 MB / 0.9871 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/5.924, allocations: 184 kB / 0.9873 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002818/5.926, allocations: 332 kB / 0.9876 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02255/5.949, allocations: 5.884 MB / 0.9933 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03161/5.981, allocations: 8.052 MB / 1.001 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003678/5.981, allocations: 23.72 kB / 1.001 GB, free: 276 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002423/5.984, allocations: 16 kB / 1.001 GB, free: 260 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006057/5.984, allocations: 311.1 kB / 1.002 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07524/6.059, allocations: 40.41 MB / 1.041 GB, free: 3.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008248/6.068, allocations: 2.865 MB / 1.044 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005535/6.073, allocations: 2.102 MB / 1.046 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/6.074, allocations: 22 kB / 1.046 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/6.074, allocations: 68.41 kB / 1.046 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=209): time 5.561e-06/6.074, allocations: 4 kB / 1.046 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212): time 0.02086/6.095, allocations: 6.456 MB / 1.052 GB, free: 8.258 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/6.095, allocations: 73.41 kB / 1.052 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/6.098, allocations: 1.329 MB / 1.054 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005183/6.098, allocations: 29.7 kB / 1.054 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/6.1, allocations: 2.055 MB / 1.056 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00134/6.102, allocations: 0.7044 MB / 1.056 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/6.102, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002847/6.102, allocations: 407.2 kB / 1.057 GB, free: 3.582 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003723/6.106, allocations: 1.305 MB / 1.058 GB, free: 2.273 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004622/6.111, allocations: 2.058 MB / 1.06 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/6.116, allocations: 1.684 MB / 1.062 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-05/6.116, allocations: 8 kB / 1.062 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.0155/6.131, allocations: 4.708 MB / 1.066 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/6.131, allocations: 8.25 kB / 1.066 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-05/6.131, allocations: 28 kB / 1.066 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006655/6.138, allocations: 1.422 MB / 1.068 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/6.142, allocations: 427.2 kB / 1.068 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03647/6.179, allocations: 15.53 MB / 1.083 GB, free: 7.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/6.183, allocations: 68.17 kB / 1.083 GB, free: 7.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/6.183, allocations: 108 kB / 1.083 GB, free: 7.391 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000665/6.184, allocations: 172.9 kB / 1.084 GB, free: 7.215 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008859/6.185, allocations: 268.9 kB / 1.084 GB, free: 6.949 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/6.199, allocations: 4.316 MB / 1.088 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.475e-05/6.199, allocations: 20 kB / 1.088 GB, free: 2.586 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.806e-05/6.199, allocations: 16 kB / 1.088 GB, free: 2.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.52e-05/6.199, allocations: 11.88 kB / 1.088 GB, free: 2.559 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3336/6.532, allocations: 8.73 MB / 1.097 GB, free: 256 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/6.533, allocations: 3.906 kB / 1.097 GB, free: 256 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/6.535, allocations: 214.2 kB / 1.097 GB, free: 256 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005923/6.541, allocations: 1.394 MB / 1.098 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/6.541, allocations: 7.375 kB / 1.098 GB, free: 255.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0401/6.581, allocations: 15.49 MB / 1.113 GB, free: 251.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.221e-05/6.581, allocations: 11.66 kB / 1.113 GB, free: 251.2 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/6.594, allocations: 4.739 MB / 1.118 GB, free: 250.4 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01249/6.607, allocations: 5.181 MB / 1.123 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/6.609, allocations: 0.6062 MB / 1.124 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/6.609, allocations: 10.16 kB / 1.124 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/6.612, allocations: 43.25 kB / 1.124 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003332/6.612, allocations: 116.7 kB / 1.124 GB, free: 249.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/6.612, allocations: 55.56 kB / 1.124 GB, free: 249.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001976/6.614, allocations: 0.9733 MB / 1.125 GB, free: 248.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007203/6.622, allocations: 1.014 MB / 1.126 GB, free: 248.9 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/6.623, allocations: 122.4 kB / 1.126 GB, free: 248.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01631/6.639, allocations: 4.217 MB / 1.13 GB, free: 248.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/6.639, allocations: 3.75 kB / 1.13 GB, free: 248.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007699/6.647, allocations: 2.555 MB / 1.133 GB, free: 247.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/6.653, allocations: 0.6646 MB / 1.133 GB, free: 247.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/6.679, allocations: 7.554 MB / 1.141 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01005/6.689, allocations: 3.845 MB / 1.144 GB, free: 245.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.874e-06/6.689, allocations: 0 / 1.144 GB, free: 245.4 MB / 0.823 GB