Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01087/0.01087, allocations: 107.4 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001246/0.001246, allocations: 181.3 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.019/2.019, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.613/2.613, allocations: 236.1 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007717/0.000772, allocations: 8 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7887/0.7895, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005219/0.7948, allocations: 2.105 MB / 0.6855 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.7966, allocations: 0.7179 MB / 0.6862 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.7968, allocations: 7.281 kB / 0.6862 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.797, allocations: 20.8 kB / 0.6862 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.7974, allocations: 63.5 kB / 0.6863 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.7978, allocations: 86.25 kB / 0.6864 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.798, allocations: 100.8 kB / 0.6864 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.7984, allocations: 176.5 kB / 0.6866 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.7985, allocations: 57.23 kB / 0.6867 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002116/0.7987, allocations: 60.94 kB / 0.6867 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.7987, allocations: 6.688 kB / 0.6867 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.7989, allocations: 46.77 kB / 0.6868 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.799, allocations: 43.84 kB / 0.6868 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.7991, allocations: 50.27 kB / 0.6869 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.7994, allocations: 163.9 kB / 0.687 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7994, allocations: 0 / 0.687 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7995, allocations: 0 / 0.687 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7995, allocations: 0 / 0.687 GB, free: 14.44 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006492/0.8001, allocations: 422 kB / 0.6874 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8002, allocations: 13.12 kB / 0.6874 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.084e-05/0.8003, allocations: 51.17 kB / 0.6875 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005654/0.8008, allocations: 52.06 kB / 0.6875 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.8011, allocations: 214.4 kB / 0.6877 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.8011, allocations: 13.7 kB / 0.6878 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.8012, allocations: 13.09 kB / 0.6878 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.8017, allocations: 223.4 kB / 0.688 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.8018, allocations: 4.844 kB / 0.688 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.8018, allocations: 5.969 kB / 0.688 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/0.8019, allocations: 13.97 kB / 0.688 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.8022, allocations: 160.5 kB / 0.6882 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.8035, allocations: 1.134 MB / 0.6893 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.8037, allocations: 37.03 kB / 0.6893 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.8037, allocations: 3.984 kB / 0.6893 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.8037, allocations: 31.83 kB / 0.6893 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.835e-06/0.8037, allocations: 1.406 kB / 0.6893 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002532/0.804, allocations: 77.09 kB / 0.6894 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.804, allocations: 52.98 kB / 0.6895 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.8043, allocations: 181.7 kB / 0.6896 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.8043, allocations: 25.7 kB / 0.6897 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.8044, allocations: 140.9 kB / 0.6898 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.8044, allocations: 10.75 kB / 0.6898 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.8044, allocations: 5.156 kB / 0.6898 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8046, allocations: 320.3 kB / 0.6901 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.809e-05/0.8046, allocations: 19.47 kB / 0.6901 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.8047, allocations: 97.69 kB / 0.6902 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.8049, allocations: 37.8 kB / 0.6903 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8049, allocations: 0 / 0.6903 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003014/0.8052, allocations: 136.1 kB / 0.6904 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/0.8054, allocations: 0.9687 MB / 0.6913 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8055, allocations: 3.312 kB / 0.6913 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.8055, allocations: 3.906 kB / 0.6913 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.8057, allocations: 30.94 kB / 0.6914 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8057, allocations: 4 kB / 0.6914 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.806, allocations: 13.34 kB / 0.6914 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.806, allocations: 10.62 kB / 0.6914 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.806, allocations: 3.562 kB / 0.6914 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008474/0.8069, allocations: 98.73 kB / 0.6915 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.807, allocations: 2.094 kB / 0.6915 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.79e-05/0.807, allocations: 4.469 kB / 0.6915 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.8076, allocations: 26.16 kB / 0.6915 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/0.8077, allocations: 4.594 kB / 0.6915 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.8082, allocations: 16.19 kB / 0.6915 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.8083, allocations: 9.797 kB / 0.6916 GB, free: 10.34 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0005148/0.8088, allocations: 218 kB / 0.6918 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8089, allocations: 9.156 kB / 0.6918 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.517e-05/0.809, allocations: 18.08 kB / 0.6918 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8091, allocations: 1 kB / 0.6918 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.8091, allocations: 0 / 0.6918 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.8091, allocations: 1.5 kB / 0.6918 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009213/0.81, allocations: 469.8 kB / 0.6922 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.8101, allocations: 1.531 kB / 0.6922 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.8102, allocations: 10.97 kB / 0.6923 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.8102, allocations: 5.219 kB / 0.6923 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.8102, allocations: 5.891 kB / 0.6923 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.8103, allocations: 2.328 kB / 0.6923 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.8103, allocations: 1.719 kB / 0.6923 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002761/0.8106, allocations: 149.8 kB / 0.6924 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.8107, allocations: 92.47 kB / 0.6925 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.8107, allocations: 1.953 kB / 0.6925 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.8109, allocations: 6.156 kB / 0.6925 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.8109, allocations: 10.94 kB / 0.6925 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.811, allocations: 2.656 kB / 0.6925 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002152/0.8112, allocations: 128.4 kB / 0.6926 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.002e-06/0.8112, allocations: 1.562 kB / 0.6926 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001044/0.8123, allocations: 51.19 kB / 0.6927 GB, free: 9.277 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006671/0.813, allocations: 0.8915 MB / 0.6936 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.8136, allocations: 107.8 kB / 0.6937 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.8136, allocations: 3.938 kB / 0.6937 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.8137, allocations: 16.69 kB / 0.6937 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.8142, allocations: 29.67 kB / 0.6937 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.8169, allocations: 2.305 MB / 0.696 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.8173, allocations: 0.7251 MB / 0.6967 GB, free: 5.512 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002614/0.8176, allocations: 29.12 kB / 0.6967 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.8177, allocations: 36.27 kB / 0.6967 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/0.8177, allocations: 0 / 0.6967 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.8427, allocations: 2.127 MB / 0.6988 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.8431, allocations: 207.5 kB / 0.699 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.328, allocations: 0 / 0.699 GB, free: 4.988 MB / 0.5261 GB