Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",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.884/3.884, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5476/4.431, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/4.687, allocations: 98.72 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6822/5.369, allocations: 156.8 MB / 0.7814 GB, free: 63.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/5.37, allocations: 94.64 kB / 0.7815 GB, free: 63.55 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.09579/5.465, allocations: 20.13 MB / 0.8012 GB, free: 61.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.193e-05/5.465, allocations: 7.812 kB / 0.8012 GB, free: 61.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/5.467, allocations: 123.5 kB / 0.8013 GB, free: 61.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/5.468, allocations: 277 kB / 0.8016 GB, free: 61.28 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/5.468, allocations: 7.812 kB / 0.8016 GB, free: 61.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/5.468, allocations: 11.72 kB / 0.8016 GB, free: 61.28 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008642/5.469, allocations: 269.2 kB / 0.8018 GB, free: 61.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009813/5.47, allocations: 364 kB / 0.8022 GB, free: 61.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/5.47, allocations: 7.938 kB / 0.8022 GB, free: 61.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/5.47, allocations: 0 / 0.8022 GB, free: 61.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/5.47, allocations: 34.02 kB / 0.8022 GB, free: 61.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/5.475, allocations: 2.007 MB / 0.8042 GB, free: 59.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/5.475, allocations: 284.8 kB / 0.8044 GB, free: 59.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/5.476, allocations: 169.9 kB / 0.8046 GB, free: 59.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/5.476, allocations: 96.16 kB / 0.8047 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/5.476, allocations: 38.06 kB / 0.8047 GB, free: 59.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=22): time 6.272e-06/5.476, allocations: 0 / 0.8047 GB, free: 59.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.004155/5.48, allocations: 0.8936 MB / 0.8056 GB, free: 59.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/5.48, allocations: 81.02 kB / 0.8057 GB, free: 59.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/5.481, allocations: 192.1 kB / 0.8059 GB, free: 59.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/5.481, allocations: 29.61 kB / 0.8059 GB, free: 59.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/5.481, allocations: 175.3 kB / 0.8061 GB, free: 58.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/5.481, allocations: 110.4 kB / 0.8062 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/5.481, allocations: 0 / 0.8062 GB, free: 58.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/5.481, allocations: 336.1 kB / 0.8065 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/5.482, allocations: 166.8 kB / 0.8067 GB, free: 58.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/5.482, allocations: 270.4 kB / 0.8069 GB, free: 58.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/5.483, allocations: 220.4 kB / 0.8071 GB, free: 58.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/5.483, allocations: 0 / 0.8071 GB, free: 58.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002319/5.485, allocations: 0.5912 MB / 0.8077 GB, free: 58.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003914/5.486, allocations: 1.227 MB / 0.8089 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/5.486, allocations: 0 / 0.8089 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/5.486, allocations: 151.7 kB / 0.809 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/5.487, allocations: 94.83 kB / 0.8091 GB, free: 57.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/5.491, allocations: 3.82 MB / 0.8129 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/5.492, allocations: 34.47 kB / 0.8129 GB, free: 53.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/5.492, allocations: 15.66 kB / 0.8129 GB, free: 53.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/5.492, allocations: 3.781 kB / 0.8129 GB, free: 53.56 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001895/5.494, allocations: 0.5259 MB / 0.8134 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/5.494, allocations: 3.984 kB / 0.8134 GB, free: 53.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/5.495, allocations: 127.5 kB / 0.8136 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/5.496, allocations: 111 kB / 0.8137 GB, free: 53.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00077/5.496, allocations: 1.122 MB / 0.8148 GB, free: 52.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/5.497, allocations: 34.06 kB / 0.8148 GB, free: 52.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/5.497, allocations: 19.5 kB / 0.8148 GB, free: 52.41 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003005/5.497, allocations: 124.6 kB / 0.8149 GB, free: 52.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/5.498, allocations: 23.53 kB / 0.8149 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/5.5, allocations: 0.5467 MB / 0.8155 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/5.501, allocations: 7.469 kB / 0.8155 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/5.501, allocations: 3.938 kB / 0.8155 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/5.501, allocations: 3.938 kB / 0.8155 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00539/5.506, allocations: 1.22 MB / 0.8167 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/5.506, allocations: 3.906 kB / 0.8167 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/5.507, allocations: 76.8 kB / 0.8168 GB, free: 51.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008504/5.508, allocations: 138.5 kB / 0.8169 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/5.508, allocations: 7.219 kB / 0.8169 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005146/5.513, allocations: 3.852 MB / 0.8207 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.131e-05/5.513, allocations: 3.906 kB / 0.8207 GB, free: 48.18 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002546/5.516, allocations: 0.817 MB / 0.8215 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002643/5.518, allocations: 1.199 MB / 0.8226 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/5.519, allocations: 141.4 kB / 0.8228 GB, free: 46.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/5.519, allocations: 7.734 kB / 0.8228 GB, free: 46.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/5.52, allocations: 26.14 kB / 0.8228 GB, free: 46.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/5.52, allocations: 30.42 kB / 0.8228 GB, free: 46.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-05/5.521, allocations: 11.5 kB / 0.8228 GB, free: 46.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007194/5.521, allocations: 159.7 kB / 0.823 GB, free: 46.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005079/5.526, allocations: 159.1 kB / 0.8231 GB, free: 46.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/5.527, allocations: 152.6 kB / 0.8233 GB, free: 46.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002575/5.529, allocations: 1.017 MB / 0.8243 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/5.53, allocations: 0.5 kB / 0.8243 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/5.531, allocations: 432 kB / 0.8247 GB, free: 45.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/5.532, allocations: 42.52 kB / 0.8247 GB, free: 45.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/5.534, allocations: 0.5627 MB / 0.8253 GB, free: 45.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007481/5.535, allocations: 0.8498 MB / 0.8261 GB, free: 44.94 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/5.535, allocations: 0 / 0.8261 GB, free: 44.94 MB / 0.6511 GB