Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.371/2.371, allocations: 284.7 MB / 297.2 MB, free: 6.363 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.001448/0.001448, allocations: 177 kB / 365.6 MB, free: 2.613 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.999/1.999, allocations: 205.1 MB / 0.624 GB, free: 8.215 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.001082/0.001081, allocations: 102.2 kB / 0.7371 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.886e-05, allocations: 0 / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7866/0.7867, allocations: 115.2 MB / 0.9699 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2637/1.05, allocations: 151.2 MB / 1.118 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.051, allocations: 71.97 kB / 1.118 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.251/1.302, allocations: 43.2 MB / 1.16 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.794e-06/1.302, allocations: 0 / 1.16 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001734/1.302, allocations: 35.94 kB / 1.16 GB, free: 5.855 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.003595/1.306, allocations: 1.429 MB / 1.161 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.306, allocations: 8.031 kB / 1.161 GB, free: 4.367 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/1.306, allocations: 98.5 kB / 1.161 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007206/1.307, allocations: 182.2 kB / 1.162 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008858/1.316, allocations: 2.452 MB / 1.164 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/1.316, allocations: 65.31 kB / 1.164 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.316, allocations: 92 kB / 1.164 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/1.318, allocations: 0.6721 MB / 1.165 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.318, allocations: 0 / 1.165 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/1.318, allocations: 20 kB / 1.165 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/1.318, allocations: 17.31 kB / 1.165 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/1.319, allocations: 403.7 kB / 1.165 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009228/1.328, allocations: 4.093 MB / 1.169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/1.331, allocations: 0.6684 MB / 1.17 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/1.332, allocations: 231 kB / 1.17 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/1.332, allocations: 7.984 kB / 1.17 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.332, allocations: 35.19 kB / 1.17 GB, free: 11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 3.236e-06/1.332, allocations: 0 / 1.17 GB, free: 11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.002295/1.334, allocations: 0.6801 MB / 1.171 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/1.334, allocations: 55.41 kB / 1.171 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/1.338, allocations: 1.527 MB / 1.172 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.338, allocations: 49.7 kB / 1.172 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/1.339, allocations: 0.6273 MB / 1.173 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/1.339, allocations: 138 kB / 1.173 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/1.339, allocations: 23.75 kB / 1.173 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002268/1.34, allocations: 357.9 kB / 1.174 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/1.341, allocations: 378.4 kB / 1.174 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/1.342, allocations: 1.018 MB / 1.175 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/1.343, allocations: 0.5344 MB / 1.175 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/1.343, allocations: 12 kB / 1.175 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004539/1.348, allocations: 1.595 MB / 1.177 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/1.348, allocations: 15.98 kB / 1.177 GB, free: 3.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/1.348, allocations: 24 kB / 1.177 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009188/1.349, allocations: 189.9 kB / 1.177 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.351, allocations: 283.5 kB / 1.177 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/1.357, allocations: 3.717 MB / 1.181 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/1.36, allocations: 290.3 kB / 1.181 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.36, allocations: 68 kB / 1.181 GB, free: 14.8 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.0002859/1.361, allocations: 176.5 kB / 1.182 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/1.361, allocations: 146 kB / 1.182 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/1.362, allocations: 147.4 kB / 1.182 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.362, allocations: 4 kB / 1.182 GB, free: 14.33 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/1.362, allocations: 7.953 kB / 1.182 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/1.362, allocations: 0 / 1.182 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/1.364, allocations: 1.141 MB / 1.183 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.364, allocations: 0 / 1.183 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007689/1.365, allocations: 75.88 kB / 1.183 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008275/1.366, allocations: 166.5 kB / 1.183 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/1.366, allocations: 8 kB / 1.183 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005564/1.371, allocations: 3.677 MB / 1.187 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.371, allocations: 0 / 1.187 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/1.374, allocations: 1.022 MB / 1.188 GB, free: 7.891 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.376, allocations: 0.9678 MB / 1.189 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/1.376, allocations: 8 kB / 1.189 GB, free: 6.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.378, allocations: 111.7 kB / 1.189 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/1.378, allocations: 31.89 kB / 1.189 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.378, allocations: 12 kB / 1.189 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002631/1.381, allocations: 1.132 MB / 1.19 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.71e-07/1.381, allocations: 0 / 1.19 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003043/1.384, allocations: 0.5581 MB / 1.191 GB, free: 4.934 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.003225/1.387, allocations: 1.692 MB / 1.192 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002803/1.39, allocations: 1.092 MB / 1.193 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.39, allocations: 4 kB / 1.193 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.391, allocations: 0.4893 MB / 1.194 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/1.394, allocations: 360 kB / 1.194 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/1.402, allocations: 2.644 MB / 1.197 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/1.403, allocations: 1.399 MB / 1.198 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001553/1.405, allocations: 302.3 kB / 1.198 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.406, allocations: 0.5149 MB / 1.199 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of SimCode: time 1.382e-06/1.406, allocations: 0 / 1.199 GB, free: 12.29 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).