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.227/2.227, allocations: 251 MB / 265.9 MB, free: 11.72 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 177.6 kB / 325.5 MB, free: 2.918 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.338/2.338, allocations: 205.4 MB / 0.5764 GB, free: 21.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 97.62 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 11.19 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2273/0.4389, allocations: 130.7 MB / 1.026 GB, free: 15.11 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4393, allocations: 75.95 kB / 1.027 GB, free: 15.03 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005762/0.4399, allocations: 364.9 kB / 1.027 GB, free: 14.67 MB / 0.6824 GB Notification: Performance of FrontEnd: time 4.178e-06/0.4399, allocations: 0 / 1.027 GB, free: 14.67 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4399, allocations: 3.938 kB / 1.027 GB, free: 14.67 MB / 0.6824 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.0003153/0.4402, allocations: 315.4 kB / 1.027 GB, free: 14.31 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4403, allocations: 8.031 kB / 1.027 GB, free: 14.3 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.4404, allocations: 30.56 kB / 1.027 GB, free: 14.27 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.508e-05/0.4404, allocations: 3.906 kB / 1.027 GB, free: 14.26 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4405, allocations: 171 kB / 1.027 GB, free: 14.05 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4406, allocations: 0 / 1.027 GB, free: 14.05 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.4406, allocations: 3.938 kB / 1.027 GB, free: 14.05 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.4407, allocations: 25.7 kB / 1.027 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4407, allocations: 4 kB / 1.027 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4407, allocations: 4 kB / 1.027 GB, free: 14.01 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4407, allocations: 0 / 1.027 GB, free: 14.01 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.4408, allocations: 4 kB / 1.027 GB, free: 14.01 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.4412, allocations: 379.5 kB / 1.028 GB, free: 13.59 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.4413, allocations: 173.1 kB / 1.028 GB, free: 13.41 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.4414, allocations: 79.28 kB / 1.028 GB, free: 13.33 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.4414, allocations: 109.8 kB / 1.028 GB, free: 13.21 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.4414, allocations: 0 / 1.028 GB, free: 13.21 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0): time 8.588e-05/0.4415, allocations: 29.73 kB / 1.028 GB, free: 13.18 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.4416, allocations: 127.7 kB / 1.028 GB, free: 13.04 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.4417, allocations: 100.9 kB / 1.028 GB, free: 12.93 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4418, allocations: 29.83 kB / 1.028 GB, free: 12.9 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.4418, allocations: 80.14 kB / 1.028 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4418, allocations: 0 / 1.028 GB, free: 12.82 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-07/0.4418, allocations: 3.938 kB / 1.028 GB, free: 12.81 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.442, allocations: 310.8 kB / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.442, allocations: 3.938 kB / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.442, allocations: 0 / 1.029 GB, free: 12.5 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.442, allocations: 75.28 kB / 1.029 GB, free: 12.42 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/0.4421, allocations: 79.28 kB / 1.029 GB, free: 12.34 MB / 0.6824 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.91e-05/0.4422, allocations: 33.69 kB / 1.029 GB, free: 12.3 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.4422, allocations: 79.28 kB / 1.029 GB, free: 12.23 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/0.4423, allocations: 83.22 kB / 1.029 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.101e-05/0.4424, allocations: 154.6 kB / 1.029 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.031e-05/0.4424, allocations: 76.69 kB / 1.029 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.017e-05/0.4425, allocations: 158.5 kB / 1.029 GB, free: 11.76 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.4426, allocations: 83.28 kB / 1.03 GB, free: 11.68 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.4426, allocations: 87.16 kB / 1.03 GB, free: 11.59 MB / 0.6824 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 () * Number of clocked 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.0001373/0.4428, allocations: 262.2 kB / 1.03 GB, free: 11.33 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.4428, allocations: 101 kB / 1.03 GB, free: 11.22 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.4429, allocations: 120 kB / 1.03 GB, free: 11.1 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.462e-05/0.443, allocations: 180.3 kB / 1.03 GB, free: 10.91 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.857e-05/0.4431, allocations: 180.2 kB / 1.03 GB, free: 10.73 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.29e-05/0.4432, allocations: 184.2 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.4435, allocations: 405.2 kB / 1.031 GB, free: 10.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.988e-05/0.4435, allocations: 108.9 kB / 1.031 GB, free: 9.977 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/0.4436, allocations: 101 kB / 1.031 GB, free: 9.871 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-05/0.4437, allocations: 184.3 kB / 1.031 GB, free: 9.684 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.719e-05/0.4437, allocations: 180.2 kB / 1.032 GB, free: 9.5 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.594e-05/0.4438, allocations: 177.2 kB / 1.032 GB, free: 9.32 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/0.4439, allocations: 184.2 kB / 1.032 GB, free: 9.133 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.4441, allocations: 311.8 kB / 1.032 GB, free: 8.805 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.612e-05/0.4442, allocations: 186 kB / 1.032 GB, free: 8.598 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.4443, allocations: 180.3 kB / 1.033 GB, free: 8.414 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.4444, allocations: 109.3 kB / 1.033 GB, free: 8.301 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.4445, allocations: 180.3 kB / 1.033 GB, free: 8.117 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.4445, allocations: 105 kB / 1.033 GB, free: 8.008 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.4446, allocations: 79.28 kB / 1.033 GB, free: 7.93 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4446, allocations: 3.938 kB / 1.033 GB, free: 7.926 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002951/0.4449, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6824 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 () * Number of clocked 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.000481/0.4454, allocations: 0.8089 MB / 1.034 GB, free: 7.09 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 4.352e-05/0.4454, allocations: 7.953 kB / 1.034 GB, free: 7.082 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4455, allocations: 4 kB / 1.034 GB, free: 7.078 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.4455, allocations: 3.938 kB / 1.034 GB, free: 7.074 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4458, allocations: 0.5224 MB / 1.034 GB, free: 6.547 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/0.4465, allocations: 0.4899 MB / 1.035 GB, free: 6.008 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4467, allocations: 0.6731 MB / 1.035 GB, free: 5.309 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 9.789e-06/0.4468, allocations: 0 / 1.035 GB, free: 5.309 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.4468, allocations: 11.44 kB / 1.035 GB, free: 5.297 MB / 0.6824 GB Notification: Performance of SimCode: time 9.52e-07/0.4468, allocations: 0 / 1.035 GB, free: 5.297 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.4632, allocations: 0.7092 MB / 1.036 GB, free: 4.746 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.4636, allocations: 208.8 kB / 1.036 GB, free: 4.492 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.626, allocations: 2.109 kB / 1.036 GB, free: 4.492 MB / 0.6824 GB