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.FixedVoltageSource.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.FixedVoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.923/3.923, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5379/4.461, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/4.714, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/5, allocations: 144.2 MB / 0.7691 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/5, allocations: 95.58 kB / 0.7692 GB, free: 9.355 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.3968/5.397, allocations: 12.16 MB / 0.781 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/5.397, allocations: 9.562 kB / 0.781 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/5.398, allocations: 69.73 kB / 0.7811 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/5.399, allocations: 225.6 kB / 0.7813 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/5.399, allocations: 9.609 kB / 0.7813 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.36e-05/5.399, allocations: 14.97 kB / 0.7814 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000443/5.399, allocations: 159.4 kB / 0.7815 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/5.4, allocations: 256.8 kB / 0.7817 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/5.4, allocations: 0 / 0.7817 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/5.4, allocations: 7.469 kB / 0.7818 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/5.4, allocations: 16.31 kB / 0.7818 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/5.402, allocations: 1.626 MB / 0.7834 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/5.402, allocations: 71.94 kB / 0.7834 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/5.402, allocations: 47.97 kB / 0.7835 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/5.402, allocations: 0 / 0.7835 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/5.402, allocations: 42.97 kB / 0.7835 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/5.402, allocations: 0 / 0.7835 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0006337/5.403, allocations: 176.6 kB / 0.7837 GB, free: 142 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/5.403, allocations: 79.27 kB / 0.7838 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/5.404, allocations: 197.3 kB / 0.7839 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/5.404, allocations: 25.7 kB / 0.784 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/5.404, allocations: 160 kB / 0.7841 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/5.404, allocations: 34 kB / 0.7842 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/5.404, allocations: 4.391 kB / 0.7842 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/5.404, allocations: 324.1 kB / 0.7845 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/5.404, allocations: 71.92 kB / 0.7845 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/5.405, allocations: 156 kB / 0.7847 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/5.405, allocations: 115.8 kB / 0.7848 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/5.405, allocations: 0 / 0.7848 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001055/5.406, allocations: 261.9 kB / 0.785 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003683/5.407, allocations: 1.131 MB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/5.407, allocations: 3.938 kB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/5.407, allocations: 3.844 kB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/5.408, allocations: 51.23 kB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/5.408, allocations: 9.391 kB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007829/5.408, allocations: 19.41 kB / 0.7862 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/5.408, allocations: 20.47 kB / 0.7863 GB, free: 140 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/5.409, allocations: 3.906 kB / 0.7863 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008631/5.409, allocations: 191.2 kB / 0.7864 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/5.409, allocations: 384 / 0.7864 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/5.409, allocations: 11.25 kB / 0.7865 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/5.41, allocations: 46.47 kB / 0.7865 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/5.41, allocations: 3.656 kB / 0.7865 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004733/5.411, allocations: 7.844 kB / 0.7865 GB, free: 140 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/5.411, allocations: 14.69 kB / 0.7865 GB, free: 140 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/5.411, allocations: 108.8 kB / 0.7866 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/5.411, allocations: 11.69 kB / 0.7866 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/5.411, allocations: 127 kB / 0.7868 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/5.412, allocations: 7.938 kB / 0.7868 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/5.412, allocations: 0 / 0.7868 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/5.412, allocations: 3.812 kB / 0.7868 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/5.413, allocations: 0.5798 MB / 0.7873 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/5.413, allocations: 3.812 kB / 0.7873 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/5.413, allocations: 22.36 kB / 0.7874 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/5.413, allocations: 7.812 kB / 0.7874 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/5.413, allocations: 0 / 0.7874 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/5.413, allocations: 7.859 kB / 0.7874 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/5.413, allocations: 3.938 kB / 0.7874 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004562/5.414, allocations: 336.9 kB / 0.7877 GB, free: 139 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000629/5.414, allocations: 0.7191 MB / 0.7884 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/5.415, allocations: 102.9 kB / 0.7885 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.586e-05/5.415, allocations: 7.016 kB / 0.7885 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/5.415, allocations: 6.219 kB / 0.7885 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/5.415, allocations: 11.11 kB / 0.7885 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/5.415, allocations: 3.812 kB / 0.7885 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002868/5.416, allocations: 157.6 kB / 0.7887 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004361/5.42, allocations: 87.75 kB / 0.7888 GB, free: 138.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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003059/5.42, allocations: 117.4 kB / 0.7889 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001397/5.422, allocations: 264.1 kB / 0.7891 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/5.422, allocations: 0 / 0.7891 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/5.422, allocations: 47.84 kB / 0.7892 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/5.423, allocations: 27.98 kB / 0.7892 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009364/5.424, allocations: 264.4 kB / 0.7894 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/5.425, allocations: 0.7675 MB / 0.7902 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/5.425, allocations: 0 / 0.7902 GB, free: 137.2 MB / 0.6511 GB