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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.699/3.699, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5185/4.217, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/4.439, allocations: 98.73 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6678/5.107, allocations: 156.7 MB / 0.7813 GB, free: 62.58 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/5.107, allocations: 93.56 kB / 0.7814 GB, free: 62.57 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.7426/5.85, allocations: 182.4 MB / 0.9595 GB, free: 12.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/5.85, allocations: 8 kB / 0.9595 GB, free: 12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/5.863, allocations: 0.9307 MB / 0.9604 GB, free: 11.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/5.879, allocations: 3.007 MB / 0.9633 GB, free: 7.996 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/5.879, allocations: 148 kB / 0.9635 GB, free: 7.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/5.883, allocations: 275.9 kB / 0.9637 GB, free: 7.582 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0248/5.907, allocations: 4.689 MB / 0.9683 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03765/5.945, allocations: 6.703 MB / 0.9749 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004032/5.946, allocations: 35.66 kB / 0.9749 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002353/5.948, allocations: 12 kB / 0.9749 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006658/5.949, allocations: 289 kB / 0.9752 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07136/6.02, allocations: 34.21 MB / 1.009 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/6.024, allocations: 1.487 MB / 1.01 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/6.029, allocations: 1.312 MB / 1.011 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/6.029, allocations: 17.3 kB / 1.011 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/6.029, allocations: 47.88 kB / 1.011 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=133): time 6.142e-06/6.029, allocations: 0 / 1.011 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=136): time 0.02/6.049, allocations: 4.579 MB / 1.016 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/6.049, allocations: 72.72 kB / 1.016 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/6.052, allocations: 1.063 MB / 1.017 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004927/6.053, allocations: 29.64 kB / 1.017 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/6.055, allocations: 1.757 MB / 1.019 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000943/6.056, allocations: 465.2 kB / 1.019 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/6.056, allocations: 0 / 1.019 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004122/6.057, allocations: 381.8 kB / 1.02 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004301/6.061, allocations: 0.902 MB / 1.02 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005403/6.066, allocations: 1.539 MB / 1.022 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004374/6.071, allocations: 1.177 MB / 1.023 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/6.071, allocations: 8 kB / 1.023 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01145/6.082, allocations: 3.361 MB / 1.026 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/6.082, allocations: 7.984 kB / 1.026 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.315e-05/6.082, allocations: 24 kB / 1.026 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005603/6.088, allocations: 0.9469 MB / 1.027 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/6.091, allocations: 335.4 kB / 1.028 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03579/6.127, allocations: 19.74 MB / 1.047 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/6.13, allocations: 47.95 kB / 1.047 GB, free: 12.82 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007742/6.131, allocations: 87.98 kB / 1.047 GB, free: 12.73 MB / 0.7917 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 (182): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,68.8%) 4,(4,68.8%) 4,(4,68.8%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009426/6.132, allocations: 161 kB / 1.047 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/6.133, allocations: 193.7 kB / 1.047 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/6.147, allocations: 2.98 MB / 1.05 GB, free: 9.336 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/6.147, allocations: 16 kB / 1.05 GB, free: 9.32 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.512e-05/6.148, allocations: 11.94 kB / 1.05 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/6.148, allocations: 7.969 kB / 1.05 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02357/6.171, allocations: 6.211 MB / 1.056 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/6.171, allocations: 4 kB / 1.056 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/6.173, allocations: 155.8 kB / 1.057 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005622/6.179, allocations: 0.9279 MB / 1.057 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003231/6.179, allocations: 8 kB / 1.057 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04277/6.222, allocations: 19.75 MB / 1.077 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/6.222, allocations: 7.938 kB / 1.077 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01345/6.235, allocations: 3.396 MB / 1.08 GB, free: 9.059 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01721/6.253, allocations: 3.822 MB / 1.084 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/6.255, allocations: 454.6 kB / 1.084 GB, free: 4.547 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009474/6.256, allocations: 8 kB / 1.084 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/6.259, allocations: 31.95 kB / 1.084 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/6.259, allocations: 76.8 kB / 1.084 GB, free: 4.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/6.26, allocations: 36 kB / 1.084 GB, free: 4.395 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.004145/6.264, allocations: 0.7849 MB / 1.085 GB, free: 3.617 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005554/6.27, allocations: 0.7344 MB / 1.086 GB, free: 2.883 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 (85): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(4,68.8%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005306/6.27, allocations: 135.7 kB / 1.086 GB, free: 2.742 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.3397/6.61, allocations: 3.788 MB / 1.09 GB, free: 272.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/6.61, allocations: 0 / 1.09 GB, free: 272.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006373/6.616, allocations: 2.605 MB / 1.092 GB, free: 271.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008409/6.625, allocations: 0.5724 MB / 1.093 GB, free: 271.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/6.654, allocations: 5.658 MB / 1.098 GB, free: 270.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008795/6.663, allocations: 3.248 MB / 1.101 GB, free: 269.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.703e-06/6.663, allocations: 0 / 1.101 GB, free: 269.5 MB / 0.823 GB