Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain.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.Continuous.Validation.Gain,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.686/2.686, allocations: 248.7 MB / 256.2 MB, free: 7.086 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.003363/0.003363, allocations: 186.7 kB / 315.4 MB, free: 4.004 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.089/2.089, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 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.001067/0.001067, allocations: 95.47 kB / 0.6704 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.649e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2219, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9323/1.154, allocations: 131.3 MB / 1.012 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/1.155, allocations: 70.89 kB / 1.012 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002095/1.157, allocations: 0.6127 MB / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/1.157, allocations: 0 / 1.013 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.157, allocations: 0.75 kB / 1.013 GB, free: 6.852 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004584/1.157, allocations: 344.3 kB / 1.013 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.157, allocations: 8.031 kB / 1.013 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/1.157, allocations: 0 / 1.013 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.158, allocations: 171 kB / 1.014 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/1.158, allocations: 4 kB / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/1.158, allocations: 0 / 1.014 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.409e-05/1.158, allocations: 11.12 kB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.08e-05/1.158, allocations: 42.31 kB / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.158, allocations: 0 / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/1.158, allocations: 0 / 1.014 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.158, allocations: 3.938 kB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/1.158, allocations: 250.6 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/1.158, allocations: 25.95 kB / 1.014 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/1.159, allocations: 8.969 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/1.159, allocations: 3.984 kB / 1.014 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/1.159, allocations: 33.19 kB / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/1.159, allocations: 0 / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/1.159, allocations: 47.64 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.159, allocations: 51.41 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/1.159, allocations: 92.06 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/1.159, allocations: 29.7 kB / 1.014 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/1.159, allocations: 88.06 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.159, allocations: 3.906 kB / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/1.159, allocations: 0 / 1.014 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.159, allocations: 318 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/1.159, allocations: 8.031 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/1.159, allocations: 7.062 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/1.159, allocations: 7.375 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.159, allocations: 0 / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.433e-05/1.159, allocations: 41.25 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.159, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.159, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.159, allocations: 4 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/1.16, allocations: 12.97 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.16, allocations: 4.719 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/1.16, allocations: 7.984 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/1.16, allocations: 4 kB / 1.015 GB, free: 5.102 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 (2): * Single equations (assignments): 2 * 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 7.663e-05/1.16, allocations: 104.9 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001038/1.16, allocations: 44.81 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/1.16, allocations: 7.906 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/1.16, allocations: 11.73 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.16, allocations: 3.938 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.16, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.16, allocations: 0 / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.16, allocations: 137.3 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.16, allocations: 0 / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.16, allocations: 15.3 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.16, allocations: 4 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/1.16, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.16, allocations: 3.938 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.16, allocations: 4 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.161, allocations: 142.8 kB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/1.161, allocations: 77.11 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/1.161, allocations: 0 / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/1.161, allocations: 7.984 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/1.161, allocations: 4 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/1.161, allocations: 4.031 kB / 1.015 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.422e-05/1.161, allocations: 82.72 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.161, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002806/1.161, allocations: 4 kB / 1.015 GB, free: 4.387 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 (2): * Single equations (assignments): 2 * 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.0004612/1.162, allocations: 0.6798 MB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.268e-05/1.162, allocations: 11.38 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.162, allocations: 2.656 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/1.162, allocations: 7.375 kB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.162, allocations: 7.984 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/1.163, allocations: 88.95 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/1.163, allocations: 0.6845 MB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.203e-05/1.163, allocations: 4.125 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/1.163, allocations: 7.438 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/1.163, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/1.192, allocations: 0.7209 MB / 1.017 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/1.192, allocations: 141.5 kB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.526, allocations: 0 / 1.018 GB, free: 1.926 MB / 0.6355 GB