Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorInitialization",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.63/2.63, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001549/0.001548, allocations: 185.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001152/0.001152, allocations: 98.16 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008277/0.0008276, allocations: 10.62 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2139, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9386/1.153, allocations: 148.2 MB / 1.123 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.153, allocations: 84.34 kB / 1.123 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2143/1.367, allocations: 33.79 MB / 1.156 GB, free: 19.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.903e-06/1.367, allocations: 0 / 1.156 GB, free: 19.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.764e-05/1.367, allocations: 23.67 kB / 1.156 GB, free: 19.66 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.006584/1.374, allocations: 1.61 MB / 1.158 GB, free: 18.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/1.374, allocations: 16.02 kB / 1.158 GB, free: 18.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/1.374, allocations: 72.3 kB / 1.158 GB, free: 18.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/1.375, allocations: 106.7 kB / 1.158 GB, free: 17.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006902/1.382, allocations: 2.081 MB / 1.16 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/1.382, allocations: 39.78 kB / 1.16 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.382, allocations: 60.78 kB / 1.16 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.383, allocations: 0.5353 MB / 1.161 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.383, allocations: 0 / 1.161 GB, free: 15.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/1.383, allocations: 14.5 kB / 1.161 GB, free: 15.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/1.383, allocations: 15.94 kB / 1.161 GB, free: 15.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007706/1.384, allocations: 347 kB / 1.161 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006417/1.39, allocations: 3.13 MB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/1.394, allocations: 0.6733 MB / 1.165 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/1.394, allocations: 0 / 1.165 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/1.394, allocations: 34.56 kB / 1.165 GB, free: 12.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.255e-06/1.394, allocations: 4 kB / 1.165 GB, free: 12.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.002462/1.396, allocations: 0.7676 MB / 1.165 GB, free: 11.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/1.396, allocations: 55.41 kB / 1.165 GB, free: 11.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/1.4, allocations: 1.275 MB / 1.167 GB, free: 10.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/1.4, allocations: 44.14 kB / 1.167 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005642/1.401, allocations: 411.5 kB / 1.167 GB, free: 10.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006201/1.401, allocations: 108.7 kB / 1.167 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/1.401, allocations: 12.19 kB / 1.167 GB, free: 10.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003623/1.402, allocations: 336 kB / 1.168 GB, free: 9.879 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.403, allocations: 291.5 kB / 1.168 GB, free: 9.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.404, allocations: 0.585 MB / 1.168 GB, free: 9.023 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009244/1.405, allocations: 375.1 kB / 1.169 GB, free: 8.754 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.405, allocations: 4 kB / 1.169 GB, free: 8.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003733/1.409, allocations: 1.249 MB / 1.17 GB, free: 7.742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/1.409, allocations: 12 kB / 1.17 GB, free: 7.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.409, allocations: 8 kB / 1.17 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/1.411, allocations: 444.6 kB / 1.17 GB, free: 7.355 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/1.412, allocations: 111.3 kB / 1.171 GB, free: 7.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/1.423, allocations: 5 MB / 1.175 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/1.428, allocations: 436.2 kB / 1.176 GB, free: 2.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.428, allocations: 35.12 kB / 1.176 GB, free: 2.859 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009545/1.429, allocations: 430.7 kB / 1.176 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/1.429, allocations: 86.88 kB / 1.176 GB, free: 2.434 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/1.429, allocations: 103.6 kB / 1.176 GB, free: 2.371 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/1.429, allocations: 4 kB / 1.176 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.429, allocations: 0 / 1.176 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.429, allocations: 3.953 kB / 1.176 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.432, allocations: 1.12 MB / 1.178 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.432, allocations: 0 / 1.178 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/1.433, allocations: 95.78 kB / 1.178 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/1.433, allocations: 39.39 kB / 1.178 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.214e-05/1.433, allocations: 22.61 kB / 1.178 GB, free: 1.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.435, allocations: 1.423 MB / 1.179 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.435, allocations: 0 / 1.179 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.437, allocations: 0.8358 MB / 1.18 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/1.439, allocations: 0.9478 MB / 1.181 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/1.439, allocations: 19.17 kB / 1.181 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.441, allocations: 203.4 kB / 1.181 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.441, allocations: 23.92 kB / 1.181 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/1.441, allocations: 7.938 kB / 1.181 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002496/1.444, allocations: 0.9645 MB / 1.182 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.01e-07/1.444, allocations: 7.875 kB / 1.182 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002574/1.447, allocations: 0.5727 MB / 1.183 GB, free: 12.67 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002771/1.449, allocations: 1.502 MB / 1.184 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003144/1.453, allocations: 0.9198 MB / 1.185 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.453, allocations: 0 / 1.185 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/1.453, allocations: 325.3 kB / 1.185 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.456, allocations: 276 kB / 1.186 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.467, allocations: 10.33 MB / 1.196 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.469, allocations: 1.174 MB / 1.197 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001226/1.47, allocations: 258.8 kB / 1.197 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.471, allocations: 310.1 kB / 1.197 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/1.471, allocations: 0 / 1.197 GB, free: 14.34 MB / 0.7292 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).