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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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 4.301/4.301, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.575/4.876, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/5.091, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6344/5.726, allocations: 156.6 MB / 0.7812 GB, free: 62.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/5.726, allocations: 95.36 kB / 0.7813 GB, free: 62.43 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.714/6.44, allocations: 184.8 MB / 0.9618 GB, free: 9.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/6.44, allocations: 11.98 kB / 0.9618 GB, free: 9.375 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/6.452, allocations: 1.005 MB / 0.9628 GB, free: 8.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/6.465, allocations: 3.237 MB / 0.9659 GB, free: 5.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/6.466, allocations: 156 kB / 0.9661 GB, free: 4.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/6.468, allocations: 283.9 kB / 0.9664 GB, free: 4.641 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/6.487, allocations: 4.881 MB / 0.9711 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0282/6.516, allocations: 6.849 MB / 0.9778 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002929/6.516, allocations: 23.8 kB / 0.9778 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002626/6.519, allocations: 16 kB / 0.9778 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000477/6.519, allocations: 277.1 kB / 0.9781 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06705/6.586, allocations: 35.34 MB / 1.013 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00612/6.593, allocations: 2.008 MB / 1.015 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003789/6.596, allocations: 1.446 MB / 1.016 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/6.597, allocations: 13.31 kB / 1.016 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/6.597, allocations: 55.88 kB / 1.016 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=157): time 5.07e-06/6.597, allocations: 4 kB / 1.016 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=160): time 0.01611/6.613, allocations: 4.878 MB / 1.021 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/6.613, allocations: 68.72 kB / 1.021 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/6.616, allocations: 1.244 MB / 1.022 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/6.616, allocations: 29.7 kB / 1.022 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/6.618, allocations: 1.809 MB / 1.024 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009103/6.619, allocations: 0.5234 MB / 1.024 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/6.619, allocations: 0 / 1.024 GB, free: 5.332 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003517/6.619, allocations: 394.1 kB / 1.025 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/6.622, allocations: 0.992 MB / 1.026 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/6.626, allocations: 1.697 MB / 1.027 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00347/6.629, allocations: 1.29 MB / 1.029 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/6.629, allocations: 8 kB / 1.029 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01154/6.641, allocations: 3.583 MB / 1.032 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/6.641, allocations: 4 kB / 1.032 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/6.641, allocations: 24 kB / 1.032 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/6.645, allocations: 0.9003 MB / 1.033 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/6.649, allocations: 395.3 kB / 1.033 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03056/6.679, allocations: 19.68 MB / 1.053 GB, free: 6.562 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/6.683, allocations: 59.94 kB / 1.053 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/6.683, allocations: 92 kB / 1.053 GB, free: 6.414 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.0005914/6.684, allocations: 168.3 kB / 1.053 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/6.685, allocations: 237.3 kB / 1.053 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/6.695, allocations: 3.16 MB / 1.056 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/6.695, allocations: 16 kB / 1.056 GB, free: 2.785 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/6.695, allocations: 8 kB / 1.056 GB, free: 2.777 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/6.695, allocations: 7.969 kB / 1.056 GB, free: 2.77 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/6.717, allocations: 6.712 MB / 1.063 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.251e-05/6.717, allocations: 4 kB / 1.063 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/6.719, allocations: 204.2 kB / 1.063 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004563/6.724, allocations: 0.8804 MB / 1.064 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003667/6.724, allocations: 8 kB / 1.064 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/6.754, allocations: 19.65 MB / 1.083 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/6.754, allocations: 11.94 kB / 1.083 GB, free: 5.734 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01032/6.765, allocations: 3.6 MB / 1.087 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3152/7.08, allocations: 4.019 MB / 1.091 GB, free: 267.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/7.082, allocations: 0.5086 MB / 1.091 GB, free: 267.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009153/7.083, allocations: 3.875 kB / 1.091 GB, free: 267.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/7.085, allocations: 45.28 kB / 1.091 GB, free: 267.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/7.086, allocations: 83.67 kB / 1.091 GB, free: 267.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/7.086, allocations: 53.78 kB / 1.091 GB, free: 267.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00203/7.088, allocations: 0.9168 MB / 1.092 GB, free: 267.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006209/7.094, allocations: 0.8159 MB / 1.093 GB, free: 267.1 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006913/7.095, allocations: 134.5 kB / 1.093 GB, free: 267 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009723/7.105, allocations: 4.009 MB / 1.097 GB, free: 265.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/7.105, allocations: 3.875 kB / 1.097 GB, free: 265.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006554/7.111, allocations: 2.713 MB / 1.1 GB, free: 264.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005894/7.117, allocations: 0.633 MB / 1.1 GB, free: 264.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/7.139, allocations: 6.001 MB / 1.106 GB, free: 263.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00774/7.147, allocations: 3.371 MB / 1.109 GB, free: 262.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.643e-06/7.147, allocations: 0 / 1.109 GB, free: 262.3 MB / 0.823 GB