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.01272/0.01272, allocations: 222.8 kB / 15.17 MB, free: 5.926 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.001205, allocations: 177.4 kB / 16.06 MB, free: 5.832 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.44/4.44, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.355/4.355, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004972, allocations: 12 kB / 1.008 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.671, allocations: 98.72 MB / 1.104 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.01287/0.6839, allocations: 2.65 MB / 1.107 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.6881, allocations: 1.585 MB / 1.108 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.6883, allocations: 5.75 kB / 1.108 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.6886, allocations: 35.77 kB / 1.108 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007416/0.6893, allocations: 155.8 kB / 1.108 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.69, allocations: 147.5 kB / 1.109 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006047/0.6907, allocations: 366.9 kB / 1.109 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.6921, allocations: 0.4934 MB / 1.109 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.6923, allocations: 107.5 kB / 1.11 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.6928, allocations: 140.8 kB / 1.11 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.555e-05/0.6929, allocations: 12 kB / 1.11 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.6935, allocations: 140.5 kB / 1.11 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.6936, allocations: 91.75 kB / 1.11 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.6937, allocations: 68.33 kB / 1.11 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.6943, allocations: 312.8 kB / 1.11 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6944, allocations: 4 kB / 1.11 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/0.6944, allocations: 0 / 1.11 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6944, allocations: 0 / 1.11 GB, free: 4.367 MB / 0.5105 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.001323/0.6957, allocations: 0.5072 MB / 1.111 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6958, allocations: 8.625 kB / 1.111 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.6959, allocations: 60.08 kB / 1.111 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.6976, allocations: 107.5 kB / 1.111 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/0.6981, allocations: 250.7 kB / 1.111 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.6982, allocations: 17.41 kB / 1.111 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6984, allocations: 20 kB / 1.111 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.6994, allocations: 379.4 kB / 1.112 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.6994, allocations: 3.984 kB / 1.112 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.6995, allocations: 12 kB / 1.112 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.6997, allocations: 28.95 kB / 1.112 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009375/0.7007, allocations: 301.5 kB / 1.112 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.7035, allocations: 1.54 MB / 1.113 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/0.7041, allocations: 227.8 kB / 1.114 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.7044, allocations: 116.8 kB / 1.114 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.7045, allocations: 89.59 kB / 1.114 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.7046, allocations: 38.56 kB / 1.114 GB, free: 404 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/0.7046, allocations: 0 / 1.114 GB, free: 404 kB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.00184/0.7064, allocations: 0.7865 MB / 1.115 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.7065, allocations: 55.36 kB / 1.115 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.7068, allocations: 194.6 kB / 1.115 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.7069, allocations: 29.7 kB / 1.115 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.707, allocations: 167.8 kB / 1.115 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.7071, allocations: 67.03 kB / 1.115 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.418e-05/0.7072, allocations: 4 kB / 1.115 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7073, allocations: 330.8 kB / 1.115 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.7076, allocations: 111.9 kB / 1.116 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.708, allocations: 161.9 kB / 1.116 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.7084, allocations: 137.9 kB / 1.116 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7084, allocations: 4 kB / 1.116 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001251/0.7097, allocations: 417.4 kB / 1.116 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7097, allocations: 8 kB / 1.116 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.7097, allocations: 0 / 1.116 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/0.7104, allocations: 96.75 kB / 1.116 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.7108, allocations: 60.03 kB / 1.116 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.7137, allocations: 1.734 MB / 1.118 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003958/0.7141, allocations: 16.17 kB / 1.118 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.7141, allocations: 12 kB / 1.118 GB, free: 11.79 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.000236/0.7144, allocations: 157.7 kB / 1.118 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.7145, allocations: 19.81 kB / 1.118 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.7152, allocations: 298 kB / 1.119 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.7153, allocations: 4 kB / 1.119 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7153, allocations: 3.984 kB / 1.119 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.7153, allocations: 7.922 kB / 1.119 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.7168, allocations: 0.7029 MB / 1.119 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7168, allocations: 64 / 1.119 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.7174, allocations: 59.95 kB / 1.119 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.7174, allocations: 0 / 1.119 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.7174, allocations: 8 kB / 1.119 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.7174, allocations: 3.938 kB / 1.119 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7175, allocations: 4 kB / 1.119 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.7185, allocations: 0.5166 MB / 1.12 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.7187, allocations: 116.9 kB / 1.12 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/0.7187, allocations: 4 kB / 1.12 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.719, allocations: 11.98 kB / 1.12 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.7191, allocations: 15.97 kB / 1.12 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.7192, allocations: 8 kB / 1.12 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001938/0.7194, allocations: 144 kB / 1.12 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.7194, allocations: 0 / 1.12 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005484/0.7199, allocations: 68 kB / 1.12 GB, free: 9.539 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.001432/0.7214, allocations: 1.058 MB / 1.121 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.7225, allocations: 430.3 kB / 1.122 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7226, allocations: 0 / 1.122 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.7229, allocations: 123.8 kB / 1.122 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.7234, allocations: 31.36 kB / 1.122 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.7276, allocations: 1.701 MB / 1.123 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.7281, allocations: 0.7792 MB / 1.124 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.7285, allocations: 61.89 kB / 1.124 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.7287, allocations: 67.42 kB / 1.124 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/0.7287, allocations: 0 / 1.124 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.758, allocations: 4.671 MB / 1.129 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/0.7584, allocations: 227.3 kB / 1.129 GB, free: 420 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.352, allocations: 3.938 kB / 1.129 GB, free: 416 kB / 0.5261 GB