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.Sensors.Examples.GeneralizedSensor.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.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",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.924/3.924, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5254/4.449, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/4.683, allocations: 98.72 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2675/4.95, allocations: 145.7 MB / 0.7706 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004432/4.951, allocations: 95.58 kB / 0.7707 GB, free: 7.809 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.3978/5.349, allocations: 14.13 MB / 0.7845 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/5.349, allocations: 11.8 kB / 0.7845 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/5.35, allocations: 75.41 kB / 0.7846 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/5.351, allocations: 229.9 kB / 0.7848 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/5.351, allocations: 11.91 kB / 0.7848 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/5.351, allocations: 11.81 kB / 0.7848 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000504/5.351, allocations: 190.8 kB / 0.785 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/5.352, allocations: 295.2 kB / 0.7853 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/5.352, allocations: 0 / 0.7853 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/5.352, allocations: 3.875 kB / 0.7853 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-05/5.352, allocations: 15.66 kB / 0.7853 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/5.354, allocations: 1.585 MB / 0.7869 GB, free: 141 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/5.355, allocations: 184.8 kB / 0.787 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/5.355, allocations: 85.98 kB / 0.7871 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/5.355, allocations: 92.14 kB / 0.7872 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/5.355, allocations: 42.09 kB / 0.7872 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 3.777e-06/5.355, allocations: 0 / 0.7872 GB, free: 140.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.001021/5.356, allocations: 270.8 kB / 0.7875 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/5.356, allocations: 80.95 kB / 0.7876 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/5.357, allocations: 152 kB / 0.7877 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/5.357, allocations: 25.7 kB / 0.7877 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/5.357, allocations: 152.1 kB / 0.7879 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/5.357, allocations: 44.97 kB / 0.7879 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/5.357, allocations: 0 / 0.7879 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.94e-05/5.357, allocations: 323.5 kB / 0.7882 GB, free: 140 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/5.357, allocations: 81.69 kB / 0.7883 GB, free: 140 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/5.357, allocations: 150.8 kB / 0.7885 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/5.358, allocations: 125.5 kB / 0.7886 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/5.358, allocations: 0 / 0.7886 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008124/5.359, allocations: 287.7 kB / 0.7889 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002234/5.359, allocations: 0.9576 MB / 0.7898 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/5.359, allocations: 3.906 kB / 0.7898 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/5.359, allocations: 3.938 kB / 0.7898 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/5.359, allocations: 55.58 kB / 0.7899 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/5.359, allocations: 7.875 kB / 0.7899 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/5.36, allocations: 11.62 kB / 0.7899 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/5.36, allocations: 9.562 kB / 0.7899 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/5.36, allocations: 3.938 kB / 0.7899 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007412/5.361, allocations: 218.2 kB / 0.7901 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/5.361, allocations: 3.656 kB / 0.7901 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/5.361, allocations: 3.938 kB / 0.7901 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/5.361, allocations: 51.75 kB / 0.7901 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/5.361, allocations: 7.562 kB / 0.7902 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/5.361, allocations: 19.66 kB / 0.7902 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/5.361, allocations: 10 kB / 0.7902 GB, free: 138.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0001278/5.361, allocations: 109.3 kB / 0.7903 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.216e-05/5.362, allocations: 11.72 kB / 0.7903 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/5.362, allocations: 226.7 kB / 0.7905 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/5.362, allocations: 1.188 kB / 0.7905 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/5.362, allocations: 4.938 kB / 0.7905 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/5.362, allocations: 5.016 kB / 0.7905 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/5.365, allocations: 1.046 MB / 0.7915 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/5.365, allocations: 2.781 kB / 0.7915 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/5.365, allocations: 33.14 kB / 0.7916 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/5.365, allocations: 7.781 kB / 0.7916 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/5.365, allocations: 4.562 kB / 0.7916 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/5.365, allocations: 7.516 kB / 0.7916 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/5.365, allocations: 7.375 kB / 0.7916 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007777/5.366, allocations: 0.5334 MB / 0.7921 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001031/5.367, allocations: 0.9071 MB / 0.793 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/5.367, allocations: 118.2 kB / 0.7931 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/5.367, allocations: 4.531 kB / 0.7931 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/5.367, allocations: 10.64 kB / 0.7931 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/5.367, allocations: 22.02 kB / 0.7932 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/5.368, allocations: 6.219 kB / 0.7932 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001343/5.368, allocations: 126.4 kB / 0.7933 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002367/5.37, allocations: 92.64 kB / 0.7934 GB, free: 136.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 14 * 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.0002277/5.37, allocations: 117.5 kB / 0.7935 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008044/5.371, allocations: 319.2 kB / 0.7938 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/5.371, allocations: 0 / 0.7938 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/5.371, allocations: 88.73 kB / 0.7939 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/5.372, allocations: 25.3 kB / 0.7939 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/5.373, allocations: 375.7 kB / 0.7943 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/5.374, allocations: 0.7836 MB / 0.795 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.362e-06/5.374, allocations: 0 / 0.795 GB, free: 135.4 MB / 0.6511 GB