Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_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.01529/0.01529, allocations: 106.2 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.001679/0.001679, allocations: 186.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 2.007/2.007, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.362/2.362, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.000487, allocations: 16 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7365, allocations: 98.71 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/1.02, allocations: 146.6 MB / 0.8266 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.021, allocations: 83.95 kB / 0.8266 GB, free: 11.48 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.03918/1.06, allocations: 9.568 MB / 0.836 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/1.06, allocations: 0 / 0.836 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.06, allocations: 0 / 0.836 GB, free: 1.777 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009326/1.061, allocations: 431.1 kB / 0.8364 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/1.061, allocations: 12.03 kB / 0.8364 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/1.061, allocations: 50.55 kB / 0.8364 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009964/1.062, allocations: 56.06 kB / 0.8365 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/1.063, allocations: 214.8 kB / 0.8367 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.063, allocations: 8.281 kB / 0.8367 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/1.063, allocations: 12 kB / 0.8367 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/1.064, allocations: 230.7 kB / 0.8369 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/1.064, allocations: 4 kB / 0.8369 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/1.064, allocations: 4 kB / 0.837 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/1.064, allocations: 8.281 kB / 0.837 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/1.064, allocations: 156.6 kB / 0.8371 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/1.066, allocations: 1.134 MB / 0.8382 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/1.066, allocations: 26.56 kB / 0.8382 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.066, allocations: 4 kB / 0.8382 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.067, allocations: 34.5 kB / 0.8383 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 3.086e-06/1.067, allocations: 0 / 0.8383 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002918/1.067, allocations: 61.69 kB / 0.8383 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.067, allocations: 51.41 kB / 0.8384 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/1.067, allocations: 170.1 kB / 0.8386 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.067, allocations: 33.62 kB / 0.8386 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.067, allocations: 135.4 kB / 0.8387 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/1.067, allocations: 19.8 kB / 0.8387 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.067, allocations: 0 / 0.8387 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.068, allocations: 318.8 kB / 0.839 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/1.068, allocations: 20 kB / 0.8391 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/1.068, allocations: 97.3 kB / 0.8391 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.068, allocations: 32 kB / 0.8392 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.068, allocations: 0 / 0.8392 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004223/1.069, allocations: 141.3 kB / 0.8393 GB, free: 14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005873/1.069, allocations: 0.9645 MB / 0.8403 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.069, allocations: 4 kB / 0.8403 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/1.069, allocations: 4 kB / 0.8403 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/1.069, allocations: 27.92 kB / 0.8403 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.069, allocations: 4 kB / 0.8403 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/1.07, allocations: 19.78 kB / 0.8403 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.07, allocations: 8 kB / 0.8403 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.07, allocations: 4 kB / 0.8403 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003132/1.07, allocations: 107.9 kB / 0.8404 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.07, allocations: 0 / 0.8404 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/1.07, allocations: 4 kB / 0.8404 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/1.07, allocations: 27.92 kB / 0.8405 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.07, allocations: 7.984 kB / 0.8405 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/1.071, allocations: 11.91 kB / 0.8405 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/1.071, allocations: 11.95 kB / 0.8405 GB, free: 12.73 MB / 0.6667 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 (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 prepare postOptimizeDAE: time 0.0002435/1.071, allocations: 221.3 kB / 0.8407 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/1.071, allocations: 7.906 kB / 0.8407 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/1.071, allocations: 12.94 kB / 0.8407 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.071, allocations: 0 / 0.8407 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.071, allocations: 0 / 0.8407 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/1.071, allocations: 3.984 kB / 0.8407 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/1.072, allocations: 456.2 kB / 0.8412 GB, free: 11.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.072, allocations: 3.984 kB / 0.8412 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/1.072, allocations: 8 kB / 0.8412 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/1.072, allocations: 0 / 0.8412 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.072, allocations: 0 / 0.8412 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.072, allocations: 7.891 kB / 0.8412 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.072, allocations: 4 kB / 0.8412 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/1.072, allocations: 118.3 kB / 0.8413 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.072, allocations: 92.95 kB / 0.8414 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/1.072, allocations: 3.938 kB / 0.8414 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/1.073, allocations: 0 / 0.8414 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/1.073, allocations: 7.938 kB / 0.8414 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/1.073, allocations: 0 / 0.8414 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002226/1.073, allocations: 138.3 kB / 0.8415 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.61e-07/1.073, allocations: 0 / 0.8415 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008813/1.074, allocations: 51.84 kB / 0.8416 GB, free: 11.49 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0008221/1.075, allocations: 0.8056 MB / 0.8424 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004116/1.075, allocations: 108.8 kB / 0.8425 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.075, allocations: 0 / 0.8425 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/1.075, allocations: 8.25 kB / 0.8425 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/1.075, allocations: 20.05 kB / 0.8425 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/1.079, allocations: 2.295 MB / 0.8447 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/1.079, allocations: 0.7319 MB / 0.8454 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002338/1.079, allocations: 20.62 kB / 0.8455 GB, free: 7.332 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/1.08, allocations: 35.42 kB / 0.8455 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of SimCode: time 1.222e-06/1.08, allocations: 0 / 0.8455 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06043/1.14, allocations: 2.122 MB / 0.8476 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/1.14, allocations: 197.1 kB / 0.8478 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.502, allocations: 0 / 0.8478 GB, free: 5.047 MB / 0.6667 GB