Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",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.661/1.661, allocations: 285.4 MB / 298 MB, free: 5.949 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.001823/0.001823, allocations: 184.9 kB / 366.4 MB, free: 2.059 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.629/1.629, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0008567/0.0008567, allocations: 102.6 kB / 0.738 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.734e-05/4.755e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.786, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/1.007, allocations: 151.4 MB / 1.119 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.007, allocations: 84.58 kB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1507/1.158, allocations: 43.18 MB / 1.161 GB, free: 5.023 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.433e-06/1.158, allocations: 4 kB / 1.161 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001196/1.158, allocations: 35.94 kB / 1.161 GB, free: 4.984 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002618/1.161, allocations: 1.438 MB / 1.163 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/1.161, allocations: 11.97 kB / 1.163 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/1.161, allocations: 98.52 kB / 1.163 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000477/1.161, allocations: 177.8 kB / 1.163 GB, free: 3.203 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/1.166, allocations: 2.454 MB / 1.165 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/1.166, allocations: 65.31 kB / 1.165 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.167, allocations: 84 kB / 1.165 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.168, allocations: 0.6761 MB / 1.166 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/1.168, allocations: 0 / 1.166 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/1.168, allocations: 24 kB / 1.166 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/1.168, allocations: 12 kB / 1.166 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/1.168, allocations: 415.6 kB / 1.166 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/1.174, allocations: 4.081 MB / 1.17 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/1.176, allocations: 0.6743 MB / 1.171 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/1.177, allocations: 226.6 kB / 1.171 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/1.177, allocations: 4 kB / 1.171 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.177, allocations: 34.56 kB / 1.171 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 4.268e-06/1.177, allocations: 0 / 1.171 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001688/1.178, allocations: 0.6768 MB / 1.172 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.178, allocations: 59.41 kB / 1.172 GB, free: 9.363 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/1.181, allocations: 1.531 MB / 1.174 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/1.181, allocations: 47.11 kB / 1.174 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/1.181, allocations: 0.6312 MB / 1.174 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/1.181, allocations: 134 kB / 1.174 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/1.181, allocations: 24 kB / 1.174 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.182, allocations: 357.9 kB / 1.175 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/1.182, allocations: 378.4 kB / 1.175 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.183, allocations: 1.018 MB / 1.176 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/1.184, allocations: 0.5345 MB / 1.177 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/1.184, allocations: 4 kB / 1.177 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00256/1.187, allocations: 1.599 MB / 1.178 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.187, allocations: 16 kB / 1.178 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/1.187, allocations: 24 kB / 1.178 GB, free: 2.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/1.187, allocations: 199.6 kB / 1.178 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/1.188, allocations: 271.5 kB / 1.179 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/1.192, allocations: 3.721 MB / 1.182 GB, free: 14.28 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.194, allocations: 292.1 kB / 1.183 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/1.194, allocations: 67.94 kB / 1.183 GB, free: 13.93 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/1.194, allocations: 184.5 kB / 1.183 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/1.194, allocations: 146 kB / 1.183 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004057/1.195, allocations: 139.4 kB / 1.183 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.195, allocations: 7.984 kB / 1.183 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.195, allocations: 4 kB / 1.183 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/1.195, allocations: 3.953 kB / 1.183 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/1.196, allocations: 1.149 MB / 1.184 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.196, allocations: 0 / 1.184 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/1.197, allocations: 75.88 kB / 1.184 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/1.197, allocations: 149.6 kB / 1.184 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/1.197, allocations: 15.98 kB / 1.184 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/1.201, allocations: 3.685 MB / 1.188 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.201, allocations: 0 / 1.188 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.203, allocations: 1.014 MB / 1.189 GB, free: 7.02 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.204, allocations: 0.9647 MB / 1.19 GB, free: 5.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/1.204, allocations: 12 kB / 1.19 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/1.205, allocations: 111.7 kB / 1.19 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.205, allocations: 31.95 kB / 1.19 GB, free: 5.758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/1.205, allocations: 11.38 kB / 1.19 GB, free: 5.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002156/1.208, allocations: 1.139 MB / 1.191 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.2e-07/1.208, allocations: 0 / 1.191 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002035/1.21, allocations: 0.5503 MB / 1.192 GB, free: 4.066 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0023/1.212, allocations: 1.686 MB / 1.193 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.214, allocations: 1.095 MB / 1.194 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.214, allocations: 0 / 1.194 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0007707/1.215, allocations: 0.5014 MB / 1.195 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.217, allocations: 362.3 kB / 1.195 GB, free: 364 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00626/1.223, allocations: 2.637 MB / 1.198 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/1.224, allocations: 1.395 MB / 1.199 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001085/1.225, allocations: 296 kB / 1.2 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008477/1.226, allocations: 0.5227 MB / 1.2 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/1.226, allocations: 0 / 1.2 GB, free: 11.42 MB / 0.8073 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).