Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",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.876/3.876, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5332/4.409, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/4.641, allocations: 98.71 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/4.926, allocations: 147 MB / 0.7718 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/4.926, allocations: 91.58 kB / 0.7719 GB, free: 6.5 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.4523/5.379, allocations: 17.75 MB / 0.7892 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/5.379, allocations: 9.438 kB / 0.7892 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/5.381, allocations: 99.56 kB / 0.7893 GB, free: 144.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009424/5.382, allocations: 282.7 kB / 0.7896 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/5.382, allocations: 7.266 kB / 0.7896 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/5.382, allocations: 16.47 kB / 0.7896 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002113/5.385, allocations: 249.1 kB / 0.7899 GB, free: 144 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/5.386, allocations: 350.9 kB / 0.7902 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/5.386, allocations: 0 / 0.7902 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/5.386, allocations: 5.938 kB / 0.7902 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/5.386, allocations: 26.08 kB / 0.7902 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/5.39, allocations: 1.606 MB / 0.7918 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/5.391, allocations: 335.2 kB / 0.7921 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/5.391, allocations: 155.1 kB / 0.7923 GB, free: 142.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/5.391, allocations: 94.75 kB / 0.7924 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/5.392, allocations: 225.8 kB / 0.7926 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.737e-06/5.392, allocations: 0 / 0.7926 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001659/5.394, allocations: 429.6 kB / 0.793 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/5.394, allocations: 84.58 kB / 0.7931 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/5.394, allocations: 191 kB / 0.7932 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/5.394, allocations: 25.7 kB / 0.7933 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/5.394, allocations: 153.5 kB / 0.7934 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/5.394, allocations: 90.86 kB / 0.7935 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/5.394, allocations: 0 / 0.7935 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.394, allocations: 336.2 kB / 0.7938 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/5.395, allocations: 126.3 kB / 0.7939 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/5.395, allocations: 207.8 kB / 0.7941 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/5.396, allocations: 162.7 kB / 0.7943 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/5.396, allocations: 1.406 kB / 0.7943 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001624/5.398, allocations: 430.2 kB / 0.7947 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/5.398, allocations: 0.871 MB / 0.7956 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/5.398, allocations: 6.828 kB / 0.7956 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/5.399, allocations: 46.47 kB / 0.7956 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/5.399, allocations: 93.39 kB / 0.7957 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/5.401, allocations: 1.418 MB / 0.7971 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/5.402, allocations: 48.2 kB / 0.7971 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/5.402, allocations: 16.19 kB / 0.7971 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/5.402, allocations: 4 kB / 0.7972 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/5.404, allocations: 347.3 kB / 0.7975 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/5.404, allocations: 3.156 kB / 0.7975 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002783/5.404, allocations: 46.28 kB / 0.7975 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/5.405, allocations: 84.88 kB / 0.7976 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/5.407, allocations: 1.402 MB / 0.799 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/5.407, allocations: 49.75 kB / 0.799 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/5.407, allocations: 10.98 kB / 0.799 GB, free: 138.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/5.408, allocations: 117.9 kB / 0.7992 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.624e-05/5.408, allocations: 27.81 kB / 0.7992 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/5.409, allocations: 384.6 kB / 0.7995 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/5.409, allocations: 7.281 kB / 0.7996 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/5.409, allocations: 1.312 kB / 0.7996 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/5.409, allocations: 2.906 kB / 0.7996 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/5.41, allocations: 0.5173 MB / 0.8001 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/5.41, allocations: 5.156 kB / 0.8001 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/5.411, allocations: 80.53 kB / 0.8001 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002574/5.412, allocations: 34.34 kB / 0.8002 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/5.412, allocations: 2.938 kB / 0.8002 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/5.413, allocations: 1.342 MB / 0.8015 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/5.413, allocations: 1.75 kB / 0.8015 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/5.414, allocations: 0.5039 MB / 0.802 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001323/5.416, allocations: 0.8894 MB / 0.8029 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/5.416, allocations: 134.6 kB / 0.803 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/5.416, allocations: 2.359 kB / 0.803 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/5.417, allocations: 37.33 kB / 0.803 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/5.417, allocations: 30.36 kB / 0.803 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/5.417, allocations: 10.88 kB / 0.8031 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002298/5.417, allocations: 157 kB / 0.8032 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002755/5.42, allocations: 132.8 kB / 0.8033 GB, free: 135 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/5.42, allocations: 130.2 kB / 0.8035 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002073/5.423, allocations: 0.7678 MB / 0.8042 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/5.423, allocations: 1.312 kB / 0.8042 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/5.423, allocations: 279.8 kB / 0.8045 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/5.424, allocations: 37.28 kB / 0.8045 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/5.426, allocations: 479.6 kB / 0.805 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/5.427, allocations: 0.8226 MB / 0.8058 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/5.427, allocations: 1.188 kB / 0.8058 GB, free: 133.4 MB / 0.6511 GB