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.Loads.Examples.TestImpedance.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.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.883/3.883, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5191/4.402, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/4.65, allocations: 98.73 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/4.915, allocations: 139.5 MB / 0.7646 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/4.916, allocations: 95.58 kB / 0.7647 GB, free: 13.96 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.4369/5.352, allocations: 29.8 MB / 0.7938 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/5.352, allocations: 8.906 kB / 0.7938 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002354/5.355, allocations: 196.6 kB / 0.794 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/5.356, allocations: 485.8 kB / 0.7944 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/5.356, allocations: 14.61 kB / 0.7945 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/5.356, allocations: 29.12 kB / 0.7945 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001236/5.358, allocations: 432.1 kB / 0.7949 GB, free: 140 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/5.359, allocations: 0.8663 MB / 0.7957 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/5.359, allocations: 10.59 kB / 0.7957 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/5.359, allocations: 4.938 kB / 0.7958 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/5.359, allocations: 55.75 kB / 0.7958 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006645/5.366, allocations: 5.561 MB / 0.8012 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/5.367, allocations: 429.2 kB / 0.8016 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/5.368, allocations: 225.8 kB / 0.8019 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/5.368, allocations: 6.781 kB / 0.8019 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/5.368, allocations: 47.55 kB / 0.8019 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 4.018e-06/5.368, allocations: 0 / 0.8019 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002931/5.371, allocations: 0.8109 MB / 0.8027 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/5.371, allocations: 60 kB / 0.8028 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/5.371, allocations: 351.7 kB / 0.8031 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/5.372, allocations: 29.7 kB / 0.8031 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/5.372, allocations: 294.8 kB / 0.8034 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/5.372, allocations: 114 kB / 0.8035 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/5.372, allocations: 0 / 0.8035 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001141/5.372, allocations: 358.9 kB / 0.8039 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/5.373, allocations: 180.1 kB / 0.804 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/5.373, allocations: 401.3 kB / 0.8044 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/5.374, allocations: 244.2 kB / 0.8046 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/5.374, allocations: 2.219 kB / 0.8046 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002414/5.376, allocations: 0.7123 MB / 0.8053 GB, free: 133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/5.376, allocations: 4.156 kB / 0.8053 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/5.376, allocations: 7.781 kB / 0.8054 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/5.378, allocations: 156.1 kB / 0.8055 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/5.379, allocations: 110.3 kB / 0.8056 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/5.386, allocations: 3.848 MB / 0.8094 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/5.387, allocations: 15.78 kB / 0.8094 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/5.387, allocations: 34.91 kB / 0.8094 GB, free: 129.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003079/5.388, allocations: 126 kB / 0.8095 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/5.388, allocations: 55.67 kB / 0.8096 GB, free: 129 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/5.39, allocations: 0.5766 MB / 0.8102 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/5.391, allocations: 3.031 kB / 0.8102 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/5.391, allocations: 6.188 kB / 0.8102 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/5.391, allocations: 1.734 kB / 0.8102 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/5.394, allocations: 1.173 MB / 0.8113 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/5.394, allocations: 1.375 kB / 0.8113 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005488/5.394, allocations: 49.08 kB / 0.8114 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000726/5.395, allocations: 146.2 kB / 0.8115 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/5.395, allocations: 2.75 kB / 0.8115 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/5.398, allocations: 3.836 MB / 0.8152 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/5.399, allocations: 10.42 kB / 0.8153 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001785/5.4, allocations: 0.7843 MB / 0.816 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001797/5.402, allocations: 1.156 MB / 0.8171 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/5.403, allocations: 160.3 kB / 0.8173 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/5.403, allocations: 2.625 kB / 0.8173 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/5.403, allocations: 14.52 kB / 0.8173 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/5.403, allocations: 29.19 kB / 0.8173 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/5.403, allocations: 7.875 kB / 0.8174 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003997/5.404, allocations: 262.3 kB / 0.8176 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001884/5.406, allocations: 131.1 kB / 0.8177 GB, free: 122.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/5.406, allocations: 111.5 kB / 0.8178 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001957/5.408, allocations: 0.9664 MB / 0.8188 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/5.408, allocations: 0 / 0.8188 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/5.409, allocations: 0.6942 MB / 0.8195 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/5.411, allocations: 153.8 kB / 0.8196 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/5.413, allocations: 0.7644 MB / 0.8203 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008815/5.414, allocations: 0.9518 MB / 0.8213 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.633e-06/5.414, allocations: 0 / 0.8213 GB, free: 119.4 MB / 0.6511 GB