Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.362, allocations: 248.7 MB / 256.2 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001448, allocations: 180.7 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.094/2.094, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 89.52 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.336e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8894/1.099, allocations: 130.8 MB / 1.012 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.099, allocations: 74.75 kB / 1.012 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005657/1.1, allocations: 380.3 kB / 1.012 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/1.1, allocations: 0 / 1.012 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.1, allocations: 0 / 1.012 GB, free: 7.484 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000272/1.1, allocations: 309.6 kB / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.1, allocations: 16.03 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/1.1, allocations: 3.984 kB / 1.013 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.101, allocations: 163 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/1.101, allocations: 5.406 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.101, allocations: 3.938 kB / 1.013 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.559e-05/1.101, allocations: 4 kB / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.198e-05/1.101, allocations: 25.7 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/1.101, allocations: 0 / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/1.101, allocations: 0 / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.101, allocations: 1.031 kB / 1.013 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/1.101, allocations: 371.9 kB / 1.013 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.001e-05/1.101, allocations: 165.1 kB / 1.013 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/1.101, allocations: 80.14 kB / 1.013 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/1.101, allocations: 75.28 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/1.101, allocations: 109.9 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/1.101, allocations: 4 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.631e-05/1.101, allocations: 32.3 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/1.102, allocations: 51.41 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/1.102, allocations: 92.92 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/1.102, allocations: 25.7 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/1.102, allocations: 84.14 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/1.102, allocations: 0 / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-07/1.102, allocations: 0 / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.102, allocations: 318.9 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/1.102, allocations: 3.938 kB / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-06/1.102, allocations: 0 / 1.014 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/1.102, allocations: 75.28 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-05/1.102, allocations: 75.28 kB / 1.014 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.979e-05/1.102, allocations: 29.7 kB / 1.014 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.102, allocations: 79.28 kB / 1.014 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/1.102, allocations: 79.22 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.297e-05/1.102, allocations: 162.5 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-05/1.102, allocations: 79.03 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.485e-05/1.102, allocations: 154.5 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.864e-05/1.102, allocations: 75.28 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/1.102, allocations: 75.28 kB / 1.015 GB, free: 4.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001328/1.103, allocations: 267.4 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.675e-05/1.103, allocations: 130.7 kB / 1.015 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/1.103, allocations: 105.3 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/1.103, allocations: 108.7 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/1.103, allocations: 184 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.928e-05/1.103, allocations: 176.3 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.369e-05/1.103, allocations: 192.1 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/1.103, allocations: 381.7 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.295e-05/1.103, allocations: 101 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/1.103, allocations: 104.9 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.232e-05/1.104, allocations: 184.2 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/1.104, allocations: 184.2 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.942e-05/1.104, allocations: 180.2 kB / 1.017 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.791e-05/1.104, allocations: 177.2 kB / 1.017 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/1.104, allocations: 307.7 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/1.104, allocations: 182.1 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/1.104, allocations: 187.7 kB / 1.018 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.855e-05/1.104, allocations: 105.8 kB / 1.018 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.722e-05/1.104, allocations: 176.3 kB / 1.018 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/1.104, allocations: 109.5 kB / 1.018 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.011e-05/1.105, allocations: 83.22 kB / 1.018 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.105, allocations: 0 / 1.018 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003341/1.105, allocations: 4.094 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.00045/1.105, allocations: 0.8047 MB / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 4.141e-05/1.105, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.105, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.105, allocations: 7.938 kB / 1.019 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/1.106, allocations: 0.5247 MB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/1.106, allocations: 149 kB / 1.02 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.107, allocations: 0.6768 MB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.206e-06/1.107, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/1.107, allocations: 11.44 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.107, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/1.142, allocations: 420.1 kB / 1.021 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003488/1.143, allocations: 164.1 kB / 1.021 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.328, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.6511 GB