Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01386/0.01387, allocations: 88.45 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001748/0.001748, allocations: 170.5 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.157/2.157, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.89/2.89, allocations: 252.8 MB / 0.511 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004584, allocations: 11.62 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.221, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003913/0.225, allocations: 2.115 MB / 0.7301 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2268, allocations: 0.721 MB / 0.7308 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.227, allocations: 4 kB / 0.7308 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2272, allocations: 23.84 kB / 0.7309 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003696/0.2276, allocations: 67.75 kB / 0.7309 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2281, allocations: 87.77 kB / 0.731 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.2283, allocations: 103.8 kB / 0.7311 GB, free: 7.062 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.2287, allocations: 179.2 kB / 0.7313 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.2288, allocations: 51.83 kB / 0.7313 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.229, allocations: 55.77 kB / 0.7314 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.2291, allocations: 8 kB / 0.7314 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.2293, allocations: 51.89 kB / 0.7314 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.2294, allocations: 39.91 kB / 0.7315 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.2294, allocations: 49.64 kB / 0.7315 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.2298, allocations: 171.8 kB / 0.7317 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2298, allocations: 0 / 0.7317 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2298, allocations: 3.938 kB / 0.7317 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2298, allocations: 3.938 kB / 0.7317 GB, free: 6.43 MB / 0.5573 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.0006977/0.2305, allocations: 419.2 kB / 0.7321 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.2306, allocations: 8.031 kB / 0.7321 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.2306, allocations: 50.48 kB / 0.7322 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.2312, allocations: 55.73 kB / 0.7322 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.2315, allocations: 214.8 kB / 0.7324 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2316, allocations: 12.28 kB / 0.7324 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.2316, allocations: 12 kB / 0.7324 GB, free: 5.574 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.2321, allocations: 219 kB / 0.7326 GB, free: 5.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2322, allocations: 3.938 kB / 0.7326 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2322, allocations: 4 kB / 0.7327 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.2323, allocations: 24.27 kB / 0.7327 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.2326, allocations: 144.7 kB / 0.7328 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2341, allocations: 1.138 MB / 0.7339 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.2343, allocations: 38.56 kB / 0.734 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2343, allocations: 0 / 0.734 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2343, allocations: 34.56 kB / 0.734 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2344, allocations: 4 kB / 0.734 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.2346, allocations: 77.61 kB / 0.7341 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.2347, allocations: 51.41 kB / 0.7341 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.2349, allocations: 167.8 kB / 0.7343 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2349, allocations: 25.7 kB / 0.7343 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2351, allocations: 143.3 kB / 0.7344 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2351, allocations: 19.83 kB / 0.7345 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.2351, allocations: 0 / 0.7345 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2352, allocations: 326.8 kB / 0.7348 GB, free: 2.961 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.2353, allocations: 20 kB / 0.7348 GB, free: 2.941 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2354, allocations: 89.36 kB / 0.7349 GB, free: 2.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.2355, allocations: 40.11 kB / 0.7349 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2356, allocations: 0 / 0.7349 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002964/0.2359, allocations: 145.2 kB / 0.7351 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003649/0.2362, allocations: 0.9601 MB / 0.736 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2363, allocations: 0 / 0.736 GB, free: 1.598 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2363, allocations: 4 kB / 0.736 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2365, allocations: 27.92 kB / 0.736 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.2365, allocations: 4 kB / 0.736 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2366, allocations: 15.84 kB / 0.736 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2367, allocations: 12 kB / 0.7361 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.2367, allocations: 7.938 kB / 0.7361 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002307/0.2369, allocations: 95.7 kB / 0.7362 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.237, allocations: 8 kB / 0.7362 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/0.237, allocations: 4 kB / 0.7362 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2371, allocations: 28.23 kB / 0.7362 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2372, allocations: 8 kB / 0.7362 GB, free: 1.387 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.139e-05/0.2373, allocations: 15.84 kB / 0.7362 GB, free: 1.371 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2373, allocations: 7.953 kB / 0.7362 GB, free: 1.363 MB / 0.5573 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.0001657/0.2374, allocations: 213 kB / 0.7364 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.2375, allocations: 7.906 kB / 0.7364 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/0.2375, allocations: 12.94 kB / 0.7364 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2376, allocations: 0 / 0.7364 GB, free: 1.121 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2376, allocations: 3.984 kB / 0.7364 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2376, allocations: 0 / 0.7364 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.2382, allocations: 477.1 kB / 0.7369 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2382, allocations: 0 / 0.7369 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.2383, allocations: 4 kB / 0.7369 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.2383, allocations: 4 kB / 0.7369 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2383, allocations: 7.891 kB / 0.7369 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2383, allocations: 4.125 kB / 0.7369 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2383, allocations: 4 kB / 0.7369 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.2385, allocations: 148.7 kB / 0.7371 GB, free: 376 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.2386, allocations: 85.02 kB / 0.7371 GB, free: 272 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2387, allocations: 3.938 kB / 0.7372 GB, free: 268 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.2387, allocations: 7.984 kB / 0.7372 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.2388, allocations: 7.938 kB / 0.7372 GB, free: 252 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2388, allocations: 4 kB / 0.7372 GB, free: 248 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001605/0.2389, allocations: 120 kB / 0.7373 GB, free: 128 kB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.239, allocations: 0 / 0.7373 GB, free: 128 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005036/0.2395, allocations: 51.84 kB / 0.7373 GB, free: 76 kB / 0.5573 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.0005975/0.2401, allocations: 0.8964 MB / 0.7382 GB, free: 15.12 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003011/0.2404, allocations: 103.8 kB / 0.7383 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2404, allocations: 1.25 kB / 0.7383 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.2405, allocations: 20.11 kB / 0.7383 GB, free: 15 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2408, allocations: 27.95 kB / 0.7384 GB, free: 14.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2428, allocations: 2.289 MB / 0.7406 GB, free: 12.59 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.2433, allocations: 0.7319 MB / 0.7413 GB, free: 11.83 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.2436, allocations: 28.61 kB / 0.7413 GB, free: 11.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.2437, allocations: 31.42 kB / 0.7414 GB, free: 11.77 MB / 0.573 GB Notification: Performance of SimCode: time 1.302e-06/0.2438, allocations: 0 / 0.7414 GB, free: 11.77 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.2671, allocations: 2.132 MB / 0.7434 GB, free: 9.746 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/0.2675, allocations: 190.7 kB / 0.7436 GB, free: 9.508 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/2.926, allocations: 0.625 kB / 0.7436 GB, free: 9.508 MB / 0.573 GB