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.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.909/3.909, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5262/4.435, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/4.676, allocations: 98.72 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2593/4.935, allocations: 144.5 MB / 0.7694 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/4.935, allocations: 91.53 kB / 0.7695 GB, free: 8.965 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.4402/5.376, allocations: 16.22 MB / 0.7854 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/5.376, allocations: 7.906 kB / 0.7854 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/5.377, allocations: 96.77 kB / 0.7855 GB, free: 143.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/5.377, allocations: 261.6 kB / 0.7857 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/5.378, allocations: 14.95 kB / 0.7857 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/5.378, allocations: 8.594 kB / 0.7857 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006642/5.378, allocations: 229.4 kB / 0.7859 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/5.379, allocations: 336.6 kB / 0.7863 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/5.379, allocations: 3.656 kB / 0.7863 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/5.379, allocations: 0 / 0.7863 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/5.379, allocations: 22.83 kB / 0.7863 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/5.382, allocations: 1.683 MB / 0.7879 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/5.382, allocations: 261.4 kB / 0.7882 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/5.383, allocations: 135.2 kB / 0.7883 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/5.383, allocations: 92.12 kB / 0.7884 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/5.383, allocations: 40.41 kB / 0.7884 GB, free: 142 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 2.906e-06/5.383, allocations: 0 / 0.7884 GB, free: 142 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.001437/5.384, allocations: 369.7 kB / 0.7888 GB, free: 142 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/5.384, allocations: 91.28 kB / 0.7889 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/5.385, allocations: 169.5 kB / 0.789 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/5.385, allocations: 25.7 kB / 0.7891 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/5.385, allocations: 157.9 kB / 0.7892 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/5.385, allocations: 67.42 kB / 0.7893 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/5.385, allocations: 1 kB / 0.7893 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/5.385, allocations: 330.1 kB / 0.7896 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/5.385, allocations: 115.9 kB / 0.7897 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/5.386, allocations: 196.1 kB / 0.7899 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/5.386, allocations: 153.2 kB / 0.79 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/5.386, allocations: 0 / 0.79 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001204/5.388, allocations: 388.2 kB / 0.7904 GB, free: 141 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/5.388, allocations: 1.058 MB / 0.7914 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/5.388, allocations: 3.438 kB / 0.7914 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/5.388, allocations: 41.59 kB / 0.7915 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006439/5.389, allocations: 73.33 kB / 0.7916 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/5.391, allocations: 1.41 MB / 0.7929 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/5.391, allocations: 22.67 kB / 0.793 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/5.391, allocations: 18.77 kB / 0.793 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/5.391, allocations: 11.72 kB / 0.793 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/5.392, allocations: 306.7 kB / 0.7933 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/5.392, allocations: 6.844 kB / 0.7933 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/5.392, allocations: 45.22 kB / 0.7933 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/5.393, allocations: 68.91 kB / 0.7934 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/5.394, allocations: 1.401 MB / 0.7948 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/5.395, allocations: 28.11 kB / 0.7948 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/5.395, allocations: 9.375 kB / 0.7948 GB, free: 137.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 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.0001552/5.395, allocations: 119.4 kB / 0.7949 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/5.395, allocations: 18.16 kB / 0.7949 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/5.396, allocations: 333.5 kB / 0.7952 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/5.396, allocations: 3.469 kB / 0.7952 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/5.396, allocations: 4 kB / 0.7952 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/5.396, allocations: 1.438 kB / 0.7952 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/5.399, allocations: 0.8961 MB / 0.7961 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/5.399, allocations: 3.078 kB / 0.7961 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/5.399, allocations: 49.75 kB / 0.7962 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/5.399, allocations: 36.75 kB / 0.7962 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/5.399, allocations: 3.984 kB / 0.7962 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/5.401, allocations: 1.337 MB / 0.7975 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/5.401, allocations: 1.594 kB / 0.7975 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001123/5.402, allocations: 0.5977 MB / 0.7981 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001096/5.403, allocations: 0.9749 MB / 0.7991 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/5.403, allocations: 128.1 kB / 0.7992 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/5.403, allocations: 4.391 kB / 0.7992 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/5.404, allocations: 23.55 kB / 0.7992 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/5.404, allocations: 21.75 kB / 0.7992 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/5.404, allocations: 7.156 kB / 0.7992 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001786/5.404, allocations: 145.2 kB / 0.7994 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002849/5.407, allocations: 105.8 kB / 0.7995 GB, free: 134.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 (21): * Single equations (assignments): 20 * 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: 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.0002432/5.407, allocations: 121.3 kB / 0.7996 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001734/5.409, allocations: 0.6315 MB / 0.8002 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/5.409, allocations: 0.7188 kB / 0.8002 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/5.41, allocations: 254.1 kB / 0.8004 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/5.41, allocations: 30.03 kB / 0.8005 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/5.412, allocations: 431.4 kB / 0.8009 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004923/5.412, allocations: 0.7982 MB / 0.8017 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.413e-06/5.412, allocations: 3.938 kB / 0.8017 GB, free: 132.9 MB / 0.6511 GB