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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.108/4.108, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.113e-05, allocations: 3.75 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 98.73 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8166/1.021, allocations: 151.3 MB / 0.7825 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004525/1.021, allocations: 95.69 kB / 0.7826 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1229/1.144, allocations: 16.43 MB / 0.7986 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.575e-06/1.144, allocations: 0 / 0.7986 GB, free: 56.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.223e-05/1.144, allocations: 8.344 kB / 0.7986 GB, free: 56.18 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001108/1.145, allocations: 0.5161 MB / 0.7991 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.145, allocations: 9.156 kB / 0.7991 GB, free: 55.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/1.146, allocations: 55.28 kB / 0.7992 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/1.147, allocations: 108 kB / 0.7993 GB, free: 55.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/1.147, allocations: 259.6 kB / 0.7995 GB, free: 55.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.147, allocations: 15.84 kB / 0.7996 GB, free: 55.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/1.147, allocations: 24.69 kB / 0.7996 GB, free: 55.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/1.148, allocations: 356.7 kB / 0.7999 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/1.148, allocations: 3.984 kB / 0.7999 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/1.148, allocations: 10.47 kB / 0.7999 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/1.149, allocations: 22.25 kB / 0.8 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/1.149, allocations: 303.3 kB / 0.8002 GB, free: 55.37 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/1.152, allocations: 1.525 MB / 0.8017 GB, free: 54.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/1.153, allocations: 221.1 kB / 0.8019 GB, free: 54.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/1.153, allocations: 117.7 kB / 0.8021 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/1.153, allocations: 90.2 kB / 0.8021 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.153, allocations: 40.03 kB / 0.8022 GB, free: 54.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.454e-06/1.153, allocations: 7.938 kB / 0.8022 GB, free: 54.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.00159/1.155, allocations: 0.6927 MB / 0.8029 GB, free: 53.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.155, allocations: 61.97 kB / 0.8029 GB, free: 53.73 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/1.155, allocations: 167.9 kB / 0.8031 GB, free: 53.63 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/1.155, allocations: 30.86 kB / 0.8031 GB, free: 53.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8e-05/1.155, allocations: 160.5 kB / 0.8033 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/1.155, allocations: 73.3 kB / 0.8033 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/1.155, allocations: 8.969 kB / 0.8033 GB, free: 53.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/1.155, allocations: 326 kB / 0.8037 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/1.156, allocations: 113.9 kB / 0.8038 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/1.156, allocations: 160 kB / 0.8039 GB, free: 53.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/1.156, allocations: 140.2 kB / 0.8041 GB, free: 53.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.156, allocations: 0 / 0.8041 GB, free: 53.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001143/1.157, allocations: 401.8 kB / 0.8044 GB, free: 52.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/1.157, allocations: 10.22 kB / 0.8044 GB, free: 52.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.157, allocations: 1.438 kB / 0.8045 GB, free: 52.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/1.158, allocations: 99.55 kB / 0.8045 GB, free: 52.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/1.158, allocations: 48.03 kB / 0.8046 GB, free: 52.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.161, allocations: 1.736 MB / 0.8063 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/1.161, allocations: 13.81 kB / 0.8063 GB, free: 51.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/1.161, allocations: 19.39 kB / 0.8063 GB, free: 51.67 MB / 0.6511 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 () * 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.0001157/1.161, allocations: 108.2 kB / 0.8064 GB, free: 51.57 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/1.162, allocations: 16.66 kB / 0.8064 GB, free: 51.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007433/1.162, allocations: 306.9 kB / 0.8067 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.162, allocations: 6.516 kB / 0.8067 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/1.162, allocations: 0 / 0.8067 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.162, allocations: 3.953 kB / 0.8067 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/1.164, allocations: 0.6909 MB / 0.8074 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.164, allocations: 0 / 0.8074 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/1.164, allocations: 63.08 kB / 0.8075 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.164, allocations: 5.781 kB / 0.8075 GB, free: 51.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/1.164, allocations: 11.36 kB / 0.8075 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.164, allocations: 0 / 0.8075 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.164, allocations: 1.344 kB / 0.8075 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/1.165, allocations: 0.5287 MB / 0.808 GB, free: 50.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/1.165, allocations: 120.5 kB / 0.8081 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/1.166, allocations: 6.328 kB / 0.8081 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/1.166, allocations: 12.33 kB / 0.8081 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.166, allocations: 14.39 kB / 0.8082 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.166, allocations: 4.219 kB / 0.8082 GB, free: 50.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001753/1.166, allocations: 141.2 kB / 0.8083 GB, free: 50.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.9e-07/1.166, allocations: 0 / 0.8083 GB, free: 50.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005774/1.167, allocations: 84.69 kB / 0.8084 GB, free: 50.78 MB / 0.6511 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 () * 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.001272/1.168, allocations: 1.225 MB / 0.8096 GB, free: 49.91 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001039/1.169, allocations: 417.2 kB / 0.81 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.169, allocations: 0 / 0.81 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/1.169, allocations: 113.3 kB / 0.8101 GB, free: 49.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/1.17, allocations: 38.77 kB / 0.8101 GB, free: 49.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.172, allocations: 0.5787 MB / 0.8107 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.172, allocations: 0.7757 MB / 0.8114 GB, free: 48.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00033/1.172, allocations: 65.3 kB / 0.8115 GB, free: 48.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/1.173, allocations: 68.09 kB / 0.8116 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.112e-06/1.173, allocations: 0 / 0.8116 GB, free: 48.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/1.204, allocations: 4.657 MB / 0.8161 GB, free: 48.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.205, allocations: 203.6 kB / 0.8163 GB, free: 48.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.519, allocations: 0 / 0.8163 GB, free: 48.09 MB / 0.6511 GB