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.01107/0.01107, allocations: 107 kB / 15.06 MB, free: 5.555 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.001205/0.001206, allocations: 181.7 kB / 15.95 MB, free: 5.52 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.942/1.942, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.332/2.332, allocations: 236.1 MB / 492.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006465/0.0006467, allocations: 12 kB / 0.587 GB, free: 1.988 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7831, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005158/0.7883, allocations: 2.604 MB / 0.686 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.7919, allocations: 1.575 MB / 0.6875 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.7922, allocations: 6.656 kB / 0.6875 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.7924, allocations: 38.72 kB / 0.6876 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006449/0.7931, allocations: 138 kB / 0.6877 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.7938, allocations: 142.3 kB / 0.6878 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003807/0.7942, allocations: 181.8 kB / 0.688 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.7954, allocations: 491.6 kB / 0.6885 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.7957, allocations: 98.66 kB / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.796, allocations: 103.7 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.7961, allocations: 10.5 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.7966, allocations: 139.9 kB / 0.6888 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.7968, allocations: 78.55 kB / 0.6889 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.7969, allocations: 65.36 kB / 0.6889 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007058/0.7976, allocations: 320.7 kB / 0.6893 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7976, allocations: 0 / 0.6893 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/0.7976, allocations: 1.031 kB / 0.6893 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.7976, allocations: 4 kB / 0.6893 GB, free: 13.12 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001151/0.7988, allocations: 0.4961 MB / 0.6897 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.7988, allocations: 17.08 kB / 0.6898 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.115e-05/0.7989, allocations: 61.03 kB / 0.6898 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.8002, allocations: 105.8 kB / 0.6899 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.8006, allocations: 248.2 kB / 0.6902 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.8006, allocations: 20.53 kB / 0.6902 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.8008, allocations: 28.75 kB / 0.6902 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.8017, allocations: 373.2 kB / 0.6906 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.8018, allocations: 2.125 kB / 0.6906 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.8018, allocations: 13.31 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.802, allocations: 27.78 kB / 0.6906 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.8028, allocations: 310.5 kB / 0.6909 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002625/0.8055, allocations: 1.521 MB / 0.6924 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.8062, allocations: 228.1 kB / 0.6926 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.8064, allocations: 85.22 kB / 0.6927 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.8065, allocations: 40.38 kB / 0.6927 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.8065, allocations: 0 / 0.6927 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001935/0.8084, allocations: 0.7932 MB / 0.6935 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.8085, allocations: 54.09 kB / 0.6935 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.8088, allocations: 209.5 kB / 0.6937 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.8088, allocations: 26.7 kB / 0.6938 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.8089, allocations: 161.2 kB / 0.6939 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.809, allocations: 69.75 kB / 0.694 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.8091, allocations: 5.031 kB / 0.694 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.8092, allocations: 329.7 kB / 0.6943 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.8095, allocations: 112.3 kB / 0.6944 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.8098, allocations: 162.6 kB / 0.6946 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.8102, allocations: 133 kB / 0.6947 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8102, allocations: 3.938 kB / 0.6947 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001293/0.8115, allocations: 415.4 kB / 0.6951 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.8116, allocations: 7 kB / 0.6951 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.8116, allocations: 3.047 kB / 0.6951 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.8123, allocations: 100.2 kB / 0.6952 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.8128, allocations: 55.53 kB / 0.6953 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.8156, allocations: 1.759 MB / 0.697 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.8161, allocations: 16.72 kB / 0.697 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.8161, allocations: 8.141 kB / 0.697 GB, free: 7.414 MB / 0.5261 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.0002575/0.8164, allocations: 160.7 kB / 0.6972 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.8165, allocations: 20.03 kB / 0.6972 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008274/0.8173, allocations: 300.6 kB / 0.6975 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.8173, allocations: 3.094 kB / 0.6975 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8174, allocations: 0 / 0.6975 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.8174, allocations: 2.422 kB / 0.6975 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.8188, allocations: 0.707 MB / 0.6982 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.8189, allocations: 1.031 kB / 0.6982 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.8195, allocations: 59.14 kB / 0.6982 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.8195, allocations: 0.9375 kB / 0.6982 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.8195, allocations: 8.25 kB / 0.6982 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.8195, allocations: 1.5 kB / 0.6982 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8195, allocations: 0.8906 kB / 0.6982 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.8205, allocations: 0.5403 MB / 0.6987 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.8207, allocations: 123.9 kB / 0.6989 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.8208, allocations: 7.359 kB / 0.6989 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.8211, allocations: 11.8 kB / 0.6989 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.8212, allocations: 13.3 kB / 0.6989 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.8213, allocations: 10.08 kB / 0.6989 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001869/0.8215, allocations: 149.3 kB / 0.699 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8215, allocations: 0 / 0.699 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005827/0.8221, allocations: 67.12 kB / 0.6991 GB, free: 6.082 MB / 0.5261 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.001272/0.8233, allocations: 1.217 MB / 0.7003 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.8246, allocations: 425.4 kB / 0.7007 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8246, allocations: 4.062 kB / 0.7007 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.8249, allocations: 120.7 kB / 0.7008 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.8255, allocations: 29.98 kB / 0.7009 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.8297, allocations: 2.611 MB / 0.7034 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.83, allocations: 0.7758 MB / 0.7042 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000343/0.8304, allocations: 59.72 kB / 0.7042 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.8306, allocations: 67.69 kB / 0.7043 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of SimCode: time 9.91e-07/0.8306, allocations: 0 / 0.7043 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.8635, allocations: 4.655 MB / 0.7088 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003487/0.864, allocations: 223 kB / 0.709 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.436, allocations: 0 / 0.709 GB, free: 15.51 MB / 0.5417 GB