Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.01279/0.0128, allocations: 223 kB / 15.17 MB, free: 5.922 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.001212/0.001212, allocations: 180.5 kB / 16.06 MB, free: 5.828 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 4.049/4.049, allocations: 389 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.58/4.58, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007664/0.0007667, allocations: 8 kB / 1.008 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/0.7417, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00345/0.7452, allocations: 2.241 MB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.748, allocations: 1.391 MB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.7482, allocations: 4 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.7484, allocations: 23.78 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.749, allocations: 137.4 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.7495, allocations: 119.6 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.7499, allocations: 274.6 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.7507, allocations: 309.9 kB / 1.109 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.7509, allocations: 82.88 kB / 1.109 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.7512, allocations: 107.6 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.7512, allocations: 8 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.7516, allocations: 119.8 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.7517, allocations: 63.8 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.7518, allocations: 53.64 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.7522, allocations: 236.9 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7522, allocations: 7.984 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7522, allocations: 2.656 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7522, allocations: 0 / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007378/0.753, allocations: 459.7 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.753, allocations: 8.031 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/0.7531, allocations: 58.5 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.754, allocations: 90.02 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.7544, allocations: 223.2 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.7544, allocations: 12.33 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.7545, allocations: 16.92 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.7551, allocations: 321.4 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.7551, allocations: 0 / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.7552, allocations: 11.98 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.7552, allocations: 28.86 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.7558, allocations: 244.6 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.7578, allocations: 1.641 MB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009595/0.7588, allocations: 409 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.759, allocations: 89.66 kB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.7592, allocations: 89.09 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.7592, allocations: 37.92 kB / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.7592, allocations: 0 / 1.113 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0009098/0.7601, allocations: 306.4 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.7602, allocations: 81.05 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.7604, allocations: 174.7 kB / 1.113 GB, free: 174 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.7604, allocations: 29.7 kB / 1.113 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/0.7605, allocations: 151.8 kB / 1.113 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.7606, allocations: 51.3 kB / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.7606, allocations: 0 / 1.114 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.7607, allocations: 330.8 kB / 1.114 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.7609, allocations: 71.95 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.7611, allocations: 149 kB / 1.114 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.7613, allocations: 107.6 kB / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7613, allocations: 0 / 1.114 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000587/0.7619, allocations: 265.7 kB / 1.114 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.762, allocations: 161.5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.7621, allocations: 5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.7621, allocations: 4 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.7625, allocations: 60 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.7626, allocations: 4 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.7628, allocations: 19.92 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.7629, allocations: 12 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.7629, allocations: 4 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004503/0.7633, allocations: 207.8 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7634, allocations: 4 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.7634, allocations: 8.875 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.7638, allocations: 51.91 kB / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.7638, allocations: 4 kB / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.764, allocations: 15.89 kB / 1.115 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.764, allocations: 12 kB / 1.115 GB, free: 172.2 MB / 0.6823 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.7642, allocations: 232.9 kB / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.7643, allocations: 19.77 kB / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.7648, allocations: 202.6 kB / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7648, allocations: 0 / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7648, allocations: 7.531 kB / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7649, allocations: 0 / 1.115 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.7665, allocations: 0.963 MB / 1.116 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7665, allocations: 4 kB / 1.116 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.7668, allocations: 36.91 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.7668, allocations: 4 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.7668, allocations: 8 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.7669, allocations: 4 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.7669, allocations: 12.55 kB / 1.116 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.7673, allocations: 440.5 kB / 1.117 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.7675, allocations: 112.9 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.7675, allocations: 7.984 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.7679, allocations: 17.36 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.7679, allocations: 15.94 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.7679, allocations: 10.47 kB / 1.117 GB, free: 170 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00013/0.7681, allocations: 131.2 kB / 1.117 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7681, allocations: 0 / 1.117 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007035/0.7688, allocations: 68 kB / 1.117 GB, free: 169.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0007262/0.7695, allocations: 0.9808 MB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007035/0.7703, allocations: 304.4 kB / 1.118 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7703, allocations: 0.8438 kB / 1.118 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.7705, allocations: 82.14 kB / 1.119 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.7712, allocations: 35.75 kB / 1.119 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.7741, allocations: 1.237 MB / 1.12 GB, free: 167 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.7744, allocations: 0.7479 MB / 1.12 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.7748, allocations: 79.12 kB / 1.121 GB, free: 166.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.775, allocations: 53.39 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/0.775, allocations: 3.938 kB / 1.121 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.8019, allocations: 3.352 MB / 1.124 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.8022, allocations: 224.7 kB / 1.124 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.531, allocations: 0 / 1.124 GB, free: 162.9 MB / 0.6823 GB