Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.2 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001308, allocations: 181 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008358/0.0008359, allocations: 98.39 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005214/0.0005214, allocations: 15.44 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2643, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6804/0.9448, allocations: 151.6 MB / 1.127 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.945, allocations: 83.86 kB / 1.128 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1167/1.062, allocations: 39.24 MB / 1.166 GB, free: 11.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.062, allocations: 0 / 1.166 GB, free: 11.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002617/1.062, allocations: 28 kB / 1.166 GB, free: 11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.007063/1.069, allocations: 1.795 MB / 1.168 GB, free: 9.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.001e-05/1.069, allocations: 12.02 kB / 1.168 GB, free: 9.293 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/1.07, allocations: 86.52 kB / 1.168 GB, free: 9.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.071, allocations: 166.3 kB / 1.168 GB, free: 9.062 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005642/1.076, allocations: 1.874 MB / 1.17 GB, free: 7.559 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/1.076, allocations: 57.38 kB / 1.17 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.077, allocations: 78.44 kB / 1.17 GB, free: 7.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008943/1.077, allocations: 0.5152 MB / 1.17 GB, free: 7.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.078, allocations: 3.938 kB / 1.17 GB, free: 7.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/1.078, allocations: 18 kB / 1.17 GB, free: 7.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.078, allocations: 19.94 kB / 1.17 GB, free: 7.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/1.078, allocations: 329.7 kB / 1.171 GB, free: 6.801 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/1.083, allocations: 3.226 MB / 1.174 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/1.084, allocations: 456.4 kB / 1.174 GB, free: 3.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/1.084, allocations: 4 kB / 1.174 GB, free: 3.512 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/1.084, allocations: 42.31 kB / 1.174 GB, free: 3.465 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/1.084, allocations: 0 / 1.174 GB, free: 3.465 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.002371/1.087, allocations: 1.042 MB / 1.175 GB, free: 2.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/1.087, allocations: 55.39 kB / 1.175 GB, free: 2.426 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/1.089, allocations: 1.544 MB / 1.177 GB, free: 1.266 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/1.089, allocations: 43.45 kB / 1.177 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006039/1.09, allocations: 0.5786 MB / 1.178 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/1.09, allocations: 103.1 kB / 1.178 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/1.09, allocations: 21.06 kB / 1.178 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.09, allocations: 350 kB / 1.178 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/1.091, allocations: 296.7 kB / 1.178 GB, free: 284 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/1.092, allocations: 0.9117 MB / 1.179 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006655/1.092, allocations: 425.4 kB / 1.18 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/1.093, allocations: 4 kB / 1.18 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002335/1.095, allocations: 1.371 MB / 1.181 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/1.095, allocations: 16 kB / 1.181 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/1.095, allocations: 20 kB / 1.181 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/1.096, allocations: 201.2 kB / 1.181 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/1.096, allocations: 231.1 kB / 1.181 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004377/1.101, allocations: 4.839 MB / 1.186 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.102, allocations: 180.4 kB / 1.186 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/1.102, allocations: 61.69 kB / 1.186 GB, free: 8.281 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008287/1.103, allocations: 479.1 kB / 1.187 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/1.103, allocations: 138.2 kB / 1.187 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/1.104, allocations: 124.7 kB / 1.187 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.104, allocations: 0 / 1.187 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/1.104, allocations: 4 kB / 1.187 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.104, allocations: 0 / 1.187 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/1.105, allocations: 0.9507 MB / 1.188 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/1.105, allocations: 3.984 kB / 1.188 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/1.106, allocations: 39.92 kB / 1.188 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005247/1.106, allocations: 166.7 kB / 1.188 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/1.106, allocations: 15.75 kB / 1.188 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/1.11, allocations: 4.778 MB / 1.193 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.11, allocations: 0 / 1.193 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/1.112, allocations: 0.8549 MB / 1.194 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.113, allocations: 0.94 MB / 1.195 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/1.113, allocations: 10.44 kB / 1.195 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/1.114, allocations: 51.39 kB / 1.195 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.114, allocations: 19.72 kB / 1.195 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/1.114, allocations: 8 kB / 1.195 GB, free: 180 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002025/1.116, allocations: 1.156 MB / 1.196 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.4e-07/1.116, allocations: 0 / 1.196 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001613/1.118, allocations: 416.6 kB / 1.196 GB, free: 14.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],con2.T[1],con2.T[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 (17): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001812/1.12, allocations: 1.482 MB / 1.198 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.121, allocations: 1.054 MB / 1.199 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.121, allocations: 1.875 kB / 1.199 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/1.122, allocations: 0.5608 MB / 1.199 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.124, allocations: 319.9 kB / 1.2 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.136, allocations: 18.66 MB / 1.218 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/1.138, allocations: 1.32 MB / 1.219 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0009948/1.139, allocations: 229.6 kB / 1.219 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/1.139, allocations: 477.5 kB / 1.22 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.422e-06/1.139, allocations: 0 / 1.22 GB, free: 7.52 MB / 0.7448 GB Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).