Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 288.2 MB / 303.2 MB, free: 8.219 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.001241/0.001241, allocations: 177.1 kB / 371.8 MB, free: 10.3 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.826/1.826, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009514/0.0009513, allocations: 98.59 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005454, allocations: 15.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2129, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7138/0.9267, allocations: 148.4 MB / 1.124 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.927, allocations: 79.72 kB / 1.124 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1121/1.039, allocations: 33.79 MB / 1.157 GB, free: 18.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/1.039, allocations: 4 kB / 1.157 GB, free: 18.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.759e-05/1.039, allocations: 20 kB / 1.157 GB, free: 18.44 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.003983/1.043, allocations: 1.614 MB / 1.159 GB, free: 16.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.043, allocations: 20 kB / 1.159 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/1.043, allocations: 63.73 kB / 1.159 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/1.044, allocations: 106.7 kB / 1.159 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/1.048, allocations: 2.084 MB / 1.161 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/1.048, allocations: 35.72 kB / 1.161 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/1.048, allocations: 52.19 kB / 1.161 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009782/1.049, allocations: 0.5391 MB / 1.162 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/1.049, allocations: 3.953 kB / 1.162 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/1.049, allocations: 13.75 kB / 1.162 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.049, allocations: 8 kB / 1.162 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005662/1.05, allocations: 347.2 kB / 1.162 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/1.054, allocations: 3.126 MB / 1.165 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/1.056, allocations: 0.6722 MB / 1.166 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/1.056, allocations: 8 kB / 1.166 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.056, allocations: 34.12 kB / 1.166 GB, free: 11.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/1.056, allocations: 0 / 1.166 GB, free: 11.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001469/1.058, allocations: 0.7613 MB / 1.167 GB, free: 10.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/1.058, allocations: 59.34 kB / 1.167 GB, free: 10.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.06, allocations: 1.286 MB / 1.168 GB, free: 9.359 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/1.06, allocations: 32.64 kB / 1.168 GB, free: 9.328 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/1.06, allocations: 406 kB / 1.168 GB, free: 9.102 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/1.06, allocations: 112.7 kB / 1.169 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/1.06, allocations: 14.88 kB / 1.169 GB, free: 9.004 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.06, allocations: 336.6 kB / 1.169 GB, free: 8.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/1.061, allocations: 291.1 kB / 1.169 GB, free: 8.469 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/1.061, allocations: 0.5776 MB / 1.17 GB, free: 7.828 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/1.062, allocations: 382.7 kB / 1.17 GB, free: 7.555 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/1.062, allocations: 3.953 kB / 1.17 GB, free: 7.551 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001944/1.064, allocations: 1.247 MB / 1.171 GB, free: 6.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/1.064, allocations: 16.06 kB / 1.171 GB, free: 6.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.064, allocations: 11.98 kB / 1.171 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/1.065, allocations: 442.7 kB / 1.172 GB, free: 6.152 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/1.065, allocations: 114.5 kB / 1.172 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/1.072, allocations: 4.999 MB / 1.177 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.074, allocations: 442.1 kB / 1.177 GB, free: 1.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/1.074, allocations: 35.19 kB / 1.177 GB, free: 1.648 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.0006447/1.074, allocations: 425.6 kB / 1.178 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.075, allocations: 86.88 kB / 1.178 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/1.075, allocations: 110.4 kB / 1.178 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.075, allocations: 7.984 kB / 1.178 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.075, allocations: 4 kB / 1.178 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/1.075, allocations: 0 / 1.178 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/1.076, allocations: 1.129 MB / 1.179 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.076, allocations: 0 / 1.179 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/1.076, allocations: 87.91 kB / 1.179 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001519/1.077, allocations: 39.77 kB / 1.179 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/1.077, allocations: 22.36 kB / 1.179 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.078, allocations: 1.421 MB / 1.18 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.078, allocations: 4.031 kB / 1.18 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/1.079, allocations: 0.8301 MB / 1.181 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/1.08, allocations: 0.9464 MB / 1.182 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.08, allocations: 23.05 kB / 1.182 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.081, allocations: 206.5 kB / 1.182 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/1.081, allocations: 19.92 kB / 1.182 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/1.081, allocations: 11.19 kB / 1.182 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001268/1.082, allocations: 0.9647 MB / 1.183 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.082, allocations: 0 / 1.183 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001478/1.084, allocations: 0.5733 MB / 1.184 GB, free: 11.46 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.001637/1.086, allocations: 1.5 MB / 1.185 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.087, allocations: 0.9223 MB / 1.186 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.087, allocations: 0.625 kB / 1.186 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004238/1.088, allocations: 333.4 kB / 1.187 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/1.089, allocations: 266 kB / 1.187 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008219/1.097, allocations: 10.33 MB / 1.197 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.098, allocations: 1.173 MB / 1.198 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007824/1.099, allocations: 254.8 kB / 1.198 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/1.1, allocations: 312.3 kB / 1.199 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/1.1, allocations: 0 / 1.199 GB, free: 13.13 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).