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.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01066/0.01066, allocations: 107 kB / 15.05 MB, free: 5.934 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.001134/0.001134, allocations: 187.3 kB / 15.95 MB, free: 5.898 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 1.929/1.929, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.279/2.279, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004806, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6422, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/0.9059, allocations: 151.4 MB / 0.8313 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004589/0.9064, allocations: 99.94 kB / 0.8314 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08581/0.9922, allocations: 16.55 MB / 0.8476 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9923, allocations: 0 / 0.8476 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.9923, allocations: 8 kB / 0.8476 GB, free: 5.949 MB / 0.6667 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.001187/0.9935, allocations: 0.5262 MB / 0.8481 GB, free: 5.375 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.9936, allocations: 12.03 kB / 0.8481 GB, free: 5.363 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.9937, allocations: 58.53 kB / 0.8481 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.9949, allocations: 91.61 kB / 0.8482 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005633/0.9955, allocations: 268.9 kB / 0.8485 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.9955, allocations: 20.42 kB / 0.8485 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.9956, allocations: 23.91 kB / 0.8485 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.9965, allocations: 365 kB / 0.8489 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.9966, allocations: 0 / 0.8489 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.9966, allocations: 11.98 kB / 0.8489 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.284e-05/0.9967, allocations: 28.42 kB / 0.8489 GB, free: 4.441 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.9975, allocations: 301.5 kB / 0.8492 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/1, allocations: 1.529 MB / 0.8507 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/1.001, allocations: 230.4 kB / 0.8509 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/1.001, allocations: 89.09 kB / 0.851 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.001, allocations: 34.56 kB / 0.851 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.354e-06/1.001, allocations: 0 / 0.851 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001981/1.003, allocations: 0.7843 MB / 0.8518 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/1.003, allocations: 59.34 kB / 0.8519 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/1.004, allocations: 181.7 kB / 0.852 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.004, allocations: 33.7 kB / 0.8521 GB, free: 0.9453 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.004, allocations: 155.9 kB / 0.8522 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/1.004, allocations: 67 kB / 0.8523 GB, free: 0.7227 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/1.004, allocations: 4 kB / 0.8523 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.004, allocations: 326.8 kB / 0.8526 GB, free: 400 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/1.004, allocations: 111.9 kB / 0.8527 GB, free: 288 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/1.005, allocations: 173.9 kB / 0.8529 GB, free: 92 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/1.005, allocations: 136 kB / 0.853 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.005, allocations: 3.953 kB / 0.853 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0012/1.006, allocations: 405.9 kB / 0.8534 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/1.006, allocations: 11.94 kB / 0.8534 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.006, allocations: 3.938 kB / 0.8534 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/1.007, allocations: 104.9 kB / 0.8535 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/1.008, allocations: 55.89 kB / 0.8536 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/1.01, allocations: 1.769 MB / 0.8553 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/1.011, allocations: 15.98 kB / 0.8553 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/1.011, allocations: 11.98 kB / 0.8553 GB, free: 13.44 MB / 0.6823 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.0002461/1.011, allocations: 149.9 kB / 0.8554 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/1.011, allocations: 15.81 kB / 0.8555 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007944/1.012, allocations: 301.7 kB / 0.8558 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/1.012, allocations: 4 kB / 0.8558 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/1.012, allocations: 0 / 0.8558 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.012, allocations: 7.938 kB / 0.8558 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/1.013, allocations: 0.7052 MB / 0.8565 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.014, allocations: 0 / 0.8565 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/1.014, allocations: 59.89 kB / 0.8565 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/1.014, allocations: 0 / 0.8565 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/1.014, allocations: 11.95 kB / 0.8565 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.014, allocations: 0 / 0.8565 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.014, allocations: 4.312 kB / 0.8565 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/1.015, allocations: 0.5318 MB / 0.857 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/1.015, allocations: 120.9 kB / 0.8572 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/1.016, allocations: 12 kB / 0.8572 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/1.016, allocations: 11.97 kB / 0.8572 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/1.016, allocations: 15.98 kB / 0.8572 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/1.016, allocations: 8.062 kB / 0.8572 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001973/1.016, allocations: 143.2 kB / 0.8573 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.3e-07/1.016, allocations: 0 / 0.8573 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005537/1.017, allocations: 76 kB / 0.8574 GB, free: 11.15 MB / 0.6823 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.001506/1.018, allocations: 1.236 MB / 0.8586 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001135/1.019, allocations: 422.7 kB / 0.859 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.019, allocations: 4.062 kB / 0.859 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/1.02, allocations: 115.9 kB / 0.8591 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/1.02, allocations: 32.86 kB / 0.8592 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/1.025, allocations: 2.59 MB / 0.8617 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.025, allocations: 0.783 MB / 0.8625 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003415/1.026, allocations: 57.91 kB / 0.8625 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/1.026, allocations: 67.41 kB / 0.8626 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/1.026, allocations: 4 kB / 0.8626 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/1.056, allocations: 4.639 MB / 0.8671 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/1.056, allocations: 214.4 kB / 0.8673 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.427, allocations: 0 / 0.8673 GB, free: 0.9883 MB / 0.6823 GB