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.724/1.724, allocations: 285.4 MB / 298 MB, free: 5.957 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.001299/0.001299, allocations: 180.9 kB / 366.4 MB, free: 2.07 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.785/1.785, allocations: 205.1 MB / 0.6248 GB, free: 7.688 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008733/0.0008732, allocations: 91.98 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.106e-05, allocations: 0 / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8119/0.812, allocations: 115.3 MB / 0.971 GB, free: 77.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/1.032, allocations: 151.5 MB / 1.119 GB, free: 240 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/1.032, allocations: 71.97 kB / 1.119 GB, free: 168 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1299/1.162, allocations: 39.26 MB / 1.157 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.074e-06/1.162, allocations: 4 kB / 1.157 GB, free: 8.875 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001209/1.162, allocations: 35.92 kB / 1.157 GB, free: 8.84 MB / 0.7605 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.00229/1.165, allocations: 1.269 MB / 1.159 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.165, allocations: 10.28 kB / 1.159 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/1.165, allocations: 90.52 kB / 1.159 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003775/1.165, allocations: 166.4 kB / 1.159 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/1.169, allocations: 1.823 MB / 1.161 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/1.169, allocations: 61 kB / 1.161 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.169, allocations: 75.91 kB / 1.161 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008753/1.17, allocations: 0.5079 MB / 1.161 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/1.17, allocations: 4 kB / 1.161 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/1.17, allocations: 16 kB / 1.161 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/1.17, allocations: 12 kB / 1.161 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/1.171, allocations: 307.8 kB / 1.162 GB, free: 4.371 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/1.175, allocations: 3.228 MB / 1.165 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009909/1.176, allocations: 447 kB / 1.165 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/1.176, allocations: 168.8 kB / 1.165 GB, free: 320 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/1.176, allocations: 13.28 kB / 1.165 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.177, allocations: 34.56 kB / 1.165 GB, free: 264 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 2.495e-06/1.177, allocations: 0 / 1.165 GB, free: 264 kB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.001131/1.178, allocations: 0.5509 MB / 1.166 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/1.178, allocations: 55.41 kB / 1.166 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/1.18, allocations: 1.522 MB / 1.167 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/1.18, allocations: 45.7 kB / 1.168 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/1.181, allocations: 0.58 MB / 1.168 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/1.181, allocations: 102.5 kB / 1.168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/1.181, allocations: 21.78 kB / 1.168 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.181, allocations: 353.9 kB / 1.169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/1.181, allocations: 282.5 kB / 1.169 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/1.182, allocations: 0.8885 MB / 1.17 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/1.183, allocations: 432.2 kB / 1.17 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.183, allocations: 4 kB / 1.17 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002238/1.185, allocations: 1.346 MB / 1.171 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/1.185, allocations: 16 kB / 1.171 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/1.185, allocations: 20 kB / 1.171 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/1.186, allocations: 202.6 kB / 1.172 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/1.187, allocations: 223.6 kB / 1.172 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/1.191, allocations: 4.772 MB / 1.176 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.193, allocations: 178.5 kB / 1.177 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/1.193, allocations: 64.06 kB / 1.177 GB, free: 3.859 MB / 0.7761 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 () * 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.0001823/1.193, allocations: 180.4 kB / 1.177 GB, free: 3.676 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.193, allocations: 134.2 kB / 1.177 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/1.193, allocations: 126.2 kB / 1.177 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.193, allocations: 4 kB / 1.177 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.193, allocations: 0 / 1.177 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.193, allocations: 5.766 kB / 1.177 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/1.195, allocations: 0.9443 MB / 1.178 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.195, allocations: 0 / 1.178 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.195, allocations: 35.92 kB / 1.178 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/1.195, allocations: 166.4 kB / 1.178 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.195, allocations: 11.95 kB / 1.178 GB, free: 2.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/1.2, allocations: 4.713 MB / 1.183 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.2, allocations: 4 kB / 1.183 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/1.201, allocations: 0.8239 MB / 1.184 GB, free: 12.22 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.202, allocations: 0.9446 MB / 1.185 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.203, allocations: 7.984 kB / 1.185 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/1.203, allocations: 55.86 kB / 1.185 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/1.203, allocations: 19.97 kB / 1.185 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/1.203, allocations: 4 kB / 1.185 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001879/1.205, allocations: 1.128 MB / 1.186 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.8e-07/1.205, allocations: 4 kB / 1.186 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001587/1.207, allocations: 419.6 kB / 1.186 GB, free: 9.508 MB / 0.7917 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 () * 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.001851/1.209, allocations: 1.485 MB / 1.188 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001747/1.211, allocations: 1.032 MB / 1.189 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.211, allocations: 0 / 1.189 GB, free: 6.922 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007319/1.211, allocations: 0.5433 MB / 1.189 GB, free: 6.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/1.213, allocations: 315.9 kB / 1.189 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004307/1.217, allocations: 2.14 MB / 1.192 GB, free: 3.852 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.218, allocations: 1.32 MB / 1.193 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007002/1.219, allocations: 230.5 kB / 1.193 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009257/1.22, allocations: 475.3 kB / 1.194 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of SimCode: time 1.944e-06/1.22, allocations: 0 / 1.194 GB, free: 1.805 MB / 0.7917 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).