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.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.658/3.658, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5038/4.162, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/4.398, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/4.69, allocations: 152.6 MB / 0.7773 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/4.691, allocations: 103.6 kB / 0.7774 GB, free: 0.8672 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.5969/5.288, allocations: 61.31 MB / 0.8373 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/5.288, allocations: 8 kB / 0.8373 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006301/5.294, allocations: 465.3 kB / 0.8378 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006152/5.3, allocations: 1.141 MB / 0.8389 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/5.301, allocations: 48 kB / 0.8389 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009973/5.302, allocations: 87.98 kB / 0.839 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009783/5.311, allocations: 2.04 MB / 0.841 GB, free: 103 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008194/5.32, allocations: 2.613 MB / 0.8436 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/5.32, allocations: 7.938 kB / 0.8436 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002921/5.32, allocations: 4 kB / 0.8436 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007322/5.321, allocations: 158.9 kB / 0.8437 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/5.35, allocations: 13.96 MB / 0.8573 GB, free: 85.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/5.353, allocations: 1.275 MB / 0.8586 GB, free: 83.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/5.355, allocations: 1.105 MB / 0.8597 GB, free: 82.63 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/5.356, allocations: 16.64 kB / 0.8597 GB, free: 82.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/5.356, allocations: 51.14 kB / 0.8597 GB, free: 82.55 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 6.031e-06/5.356, allocations: 0 / 0.8597 GB, free: 82.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=139): time 0.05941/5.415, allocations: 8.966 MB / 0.8685 GB, free: 73.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/5.415, allocations: 68.72 kB / 0.8686 GB, free: 73.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/5.417, allocations: 0.9057 MB / 0.8694 GB, free: 72.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004925/5.417, allocations: 25.7 kB / 0.8695 GB, free: 72.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/5.418, allocations: 0.6307 MB / 0.8701 GB, free: 71.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/5.419, allocations: 465 kB / 0.8705 GB, free: 71.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/5.419, allocations: 0 / 0.8705 GB, free: 71.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001812/5.419, allocations: 418.7 kB / 0.8709 GB, free: 71.03 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/5.422, allocations: 1.499 MB / 0.8724 GB, free: 69.53 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/5.426, allocations: 1.781 MB / 0.8741 GB, free: 67.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007345/5.433, allocations: 2.114 MB / 0.8762 GB, free: 65.52 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/5.434, allocations: 7.906 kB / 0.8762 GB, free: 65.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.02243/5.456, allocations: 5.773 MB / 0.8818 GB, free: 59.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/5.456, allocations: 8 kB / 0.8818 GB, free: 59.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/5.456, allocations: 8 kB / 0.8819 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01569/5.472, allocations: 2.734 MB / 0.8845 GB, free: 56.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/5.474, allocations: 211.6 kB / 0.8847 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03692/5.511, allocations: 14.41 MB / 0.8988 GB, free: 42.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/5.513, allocations: 51.95 kB / 0.8989 GB, free: 41.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/5.514, allocations: 163.9 kB / 0.899 GB, free: 41.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0005505/5.515, allocations: 136.7 kB / 0.8991 GB, free: 41.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/5.515, allocations: 110.7 kB / 0.8992 GB, free: 41.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/5.535, allocations: 5.251 MB / 0.9044 GB, free: 36.29 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-05/5.536, allocations: 12 kB / 0.9044 GB, free: 36.28 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/5.536, allocations: 15.94 kB / 0.9044 GB, free: 36.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/5.536, allocations: 7.969 kB / 0.9044 GB, free: 36.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/5.563, allocations: 8.38 MB / 0.9126 GB, free: 27.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/5.563, allocations: 4 kB / 0.9126 GB, free: 27.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/5.564, allocations: 107.8 kB / 0.9127 GB, free: 27.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/5.579, allocations: 2.564 MB / 0.9152 GB, free: 25.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004913/5.579, allocations: 35.94 kB / 0.9152 GB, free: 25.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0323/5.612, allocations: 12.38 MB / 0.9273 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/5.612, allocations: 7.984 kB / 0.9273 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02246/5.634, allocations: 5.113 MB / 0.9323 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01762/5.652, allocations: 5.495 MB / 0.9377 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/5.654, allocations: 0.601 MB / 0.9383 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005487/5.654, allocations: 11.92 kB / 0.9383 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/5.656, allocations: 39.88 kB / 0.9383 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/5.657, allocations: 101.2 kB / 0.9384 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003269/5.657, allocations: 111.9 kB / 0.9385 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001325/5.658, allocations: 0.6942 MB / 0.9392 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00412/5.662, allocations: 0.5 MB / 0.9397 GB, free: 15.35 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005518/5.663, allocations: 127 kB / 0.9398 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01305/5.676, allocations: 3.94 MB / 0.9437 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/5.676, allocations: 0 / 0.9437 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/5.689, allocations: 2.28 MB / 0.9459 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/5.692, allocations: 142.9 kB / 0.946 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/5.708, allocations: 3.348 MB / 0.9493 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/5.713, allocations: 1.748 MB / 0.951 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of SimCode: time 1.864e-06/5.713, allocations: 0 / 0.951 GB, free: 3.602 MB / 0.6667 GB