Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_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.009774/0.009779, allocations: 88.41 kB / 15.04 MB, free: 6.062 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.001182/0.001182, allocations: 170.8 kB / 15.92 MB, free: 6.008 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.16/2.16, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.224/2.224, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004543, allocations: 14.84 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004596/0.2141, allocations: 2.625 MB / 0.7306 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003529/0.2176, allocations: 1.591 MB / 0.7322 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.2178, allocations: 4 kB / 0.7322 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.218, allocations: 35.77 kB / 0.7322 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005632/0.2186, allocations: 143.6 kB / 0.7324 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.2192, allocations: 139.6 kB / 0.7325 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.2196, allocations: 179.6 kB / 0.7327 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.2208, allocations: 0.4953 MB / 0.7331 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.221, allocations: 87.73 kB / 0.7332 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.2213, allocations: 111.6 kB / 0.7333 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.2214, allocations: 8 kB / 0.7333 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.2218, allocations: 135.8 kB / 0.7335 GB, free: 4.547 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.222, allocations: 83.84 kB / 0.7336 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.2221, allocations: 65.58 kB / 0.7336 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.2226, allocations: 311.5 kB / 0.7339 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2226, allocations: 0 / 0.7339 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2226, allocations: 0 / 0.7339 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2226, allocations: 0 / 0.7339 GB, free: 4.09 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00112/0.2238, allocations: 0.5106 MB / 0.7344 GB, free: 3.531 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2238, allocations: 12.03 kB / 0.7344 GB, free: 3.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.2239, allocations: 58.55 kB / 0.7345 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.2251, allocations: 103.6 kB / 0.7346 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.2255, allocations: 250.7 kB / 0.7348 GB, free: 3.066 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2256, allocations: 12.44 kB / 0.7348 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.2257, allocations: 27.91 kB / 0.7349 GB, free: 3.023 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008488/0.2266, allocations: 376.9 kB / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2266, allocations: 0 / 0.7352 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.2267, allocations: 8 kB / 0.7352 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.2268, allocations: 24.42 kB / 0.7352 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.2276, allocations: 317.4 kB / 0.7356 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002588/0.2302, allocations: 1.533 MB / 0.737 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.2309, allocations: 222.5 kB / 0.7373 GB, free: 388 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.2311, allocations: 93.03 kB / 0.7374 GB, free: 276 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2312, allocations: 34.56 kB / 0.7374 GB, free: 232 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.2312, allocations: 0 / 0.7374 GB, free: 232 kB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.001851/0.233, allocations: 0.7871 MB / 0.7382 GB, free: 15.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2331, allocations: 51.41 kB / 0.7382 GB, free: 15.32 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.2334, allocations: 207.4 kB / 0.7384 GB, free: 15.11 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.2334, allocations: 25.7 kB / 0.7384 GB, free: 15.08 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2336, allocations: 159.9 kB / 0.7386 GB, free: 14.92 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.2337, allocations: 74.98 kB / 0.7386 GB, free: 14.85 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.2337, allocations: 0 / 0.7386 GB, free: 14.85 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2338, allocations: 334.8 kB / 0.739 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.2341, allocations: 115.9 kB / 0.7391 GB, free: 14.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.2345, allocations: 161.9 kB / 0.7392 GB, free: 14.22 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.2349, allocations: 138.3 kB / 0.7394 GB, free: 14.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2349, allocations: 0 / 0.7394 GB, free: 14.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001226/0.2361, allocations: 413.9 kB / 0.7398 GB, free: 13.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2361, allocations: 4 kB / 0.7398 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2362, allocations: 8.188 kB / 0.7398 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006726/0.2368, allocations: 100.8 kB / 0.7399 GB, free: 13.56 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.2373, allocations: 55.89 kB / 0.7399 GB, free: 13.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002711/0.2401, allocations: 1.761 MB / 0.7416 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.2405, allocations: 20.08 kB / 0.7417 GB, free: 11.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.2405, allocations: 12 kB / 0.7417 GB, free: 11.57 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.2408, allocations: 157.7 kB / 0.7418 GB, free: 11.41 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.2408, allocations: 15.81 kB / 0.7418 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.2416, allocations: 298.7 kB / 0.7421 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2416, allocations: 4 kB / 0.7421 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2416, allocations: 8 kB / 0.7421 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2417, allocations: 3.938 kB / 0.7421 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.243, allocations: 0.7058 MB / 0.7428 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.243, allocations: 0 / 0.7428 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.2436, allocations: 55.95 kB / 0.7429 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.2436, allocations: 0 / 0.7429 GB, free: 10.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.2437, allocations: 11.98 kB / 0.7429 GB, free: 10.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2437, allocations: 4.062 kB / 0.7429 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2437, allocations: 0 / 0.7429 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.2447, allocations: 0.5378 MB / 0.7434 GB, free: 9.684 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2449, allocations: 116.9 kB / 0.7435 GB, free: 9.551 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.2449, allocations: 8.062 kB / 0.7435 GB, free: 9.543 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.2452, allocations: 15.92 kB / 0.7436 GB, free: 9.527 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.2453, allocations: 11.98 kB / 0.7436 GB, free: 9.516 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.2453, allocations: 11.95 kB / 0.7436 GB, free: 9.504 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001871/0.2455, allocations: 144.6 kB / 0.7437 GB, free: 9.363 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2455, allocations: 0 / 0.7437 GB, free: 9.363 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005144/0.2461, allocations: 68 kB / 0.7438 GB, free: 9.297 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.2474, allocations: 1.214 MB / 0.745 GB, free: 8.039 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.2485, allocations: 430.5 kB / 0.7454 GB, free: 7.605 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2485, allocations: 0 / 0.7454 GB, free: 7.605 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.2488, allocations: 123.8 kB / 0.7455 GB, free: 7.484 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.2493, allocations: 31.44 kB / 0.7455 GB, free: 7.457 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.2537, allocations: 2.586 MB / 0.748 GB, free: 4.785 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.2542, allocations: 0.783 MB / 0.7488 GB, free: 3.977 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003243/0.2545, allocations: 65.89 kB / 0.7489 GB, free: 3.914 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.2547, allocations: 67.42 kB / 0.7489 GB, free: 3.848 MB / 0.573 GB Notification: Performance of SimCode: time 1.263e-06/0.2547, allocations: 0 / 0.7489 GB, free: 3.848 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2811, allocations: 4.639 MB / 0.7535 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.2815, allocations: 232 kB / 0.7537 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.674, allocations: 4 kB / 0.7537 GB, free: 15.09 MB / 0.5886 GB