Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.249/2.249, allocations: 248.5 MB / 261.1 MB, free: 6.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 182.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.2 MB / 0.5711 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.56 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.453e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1994, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.068, allocations: 141.8 MB / 1.029 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.068, allocations: 79.23 kB / 1.029 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2234/1.291, allocations: 33.85 MB / 1.062 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/1.292, allocations: 0 / 1.062 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001232/1.292, allocations: 16 kB / 1.062 GB, free: 11.93 MB / 0.6823 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.003063/1.295, allocations: 0.9905 MB / 1.063 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.295, allocations: 8.031 kB / 1.063 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/1.295, allocations: 68.03 kB / 1.063 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.296, allocations: 110.7 kB / 1.063 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007857/1.304, allocations: 2.024 MB / 1.065 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/1.304, allocations: 29.97 kB / 1.065 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.304, allocations: 60.55 kB / 1.065 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.306, allocations: 0.5337 MB / 1.066 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.306, allocations: 0 / 1.066 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/1.306, allocations: 14.56 kB / 1.066 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/1.306, allocations: 12 kB / 1.066 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/1.307, allocations: 332 kB / 1.066 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006649/1.313, allocations: 3.132 MB / 1.069 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/1.317, allocations: 0.6519 MB / 1.07 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/1.317, allocations: 199 kB / 1.07 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/1.317, allocations: 3.984 kB / 1.07 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/1.317, allocations: 34.56 kB / 1.07 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 2.645e-06/1.317, allocations: 0 / 1.07 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.001587/1.319, allocations: 492.3 kB / 1.071 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.319, allocations: 59.39 kB / 1.071 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003111/1.322, allocations: 1.27 MB / 1.072 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/1.322, allocations: 39.77 kB / 1.072 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/1.323, allocations: 407.8 kB / 1.072 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/1.323, allocations: 105.6 kB / 1.073 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/1.323, allocations: 10.25 kB / 1.073 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.323, allocations: 341.2 kB / 1.073 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/1.324, allocations: 277.4 kB / 1.073 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/1.325, allocations: 0.578 MB / 1.074 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008294/1.326, allocations: 370.5 kB / 1.074 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.326, allocations: 7.938 kB / 1.074 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003512/1.329, allocations: 1.221 MB / 1.075 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/1.329, allocations: 12.3 kB / 1.075 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.329, allocations: 16 kB / 1.075 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/1.332, allocations: 444.4 kB / 1.076 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/1.333, allocations: 111 kB / 1.076 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.343, allocations: 4.842 MB / 1.081 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/1.347, allocations: 441 kB / 1.081 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.347, allocations: 34 kB / 1.081 GB, free: 11.93 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 () * 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.0002047/1.348, allocations: 140.2 kB / 1.081 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003064/1.348, allocations: 94.75 kB / 1.081 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/1.348, allocations: 104 kB / 1.081 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.348, allocations: 3.953 kB / 1.081 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.348, allocations: 4 kB / 1.081 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.348, allocations: 7.984 kB / 1.081 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.351, allocations: 1.11 MB / 1.082 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.351, allocations: 4 kB / 1.082 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/1.352, allocations: 87.55 kB / 1.083 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002794/1.352, allocations: 47.69 kB / 1.083 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/1.352, allocations: 18.55 kB / 1.083 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/1.354, allocations: 1.42 MB / 1.084 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.354, allocations: 0 / 1.084 GB, free: 9.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.356, allocations: 0.8053 MB / 1.085 GB, free: 8.496 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.357, allocations: 0.954 MB / 1.086 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/1.358, allocations: 15.56 kB / 1.086 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.36, allocations: 203.2 kB / 1.086 GB, free: 7.273 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.36, allocations: 18.73 kB / 1.086 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/1.36, allocations: 11.11 kB / 1.086 GB, free: 7.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002322/1.363, allocations: 0.948 MB / 1.087 GB, free: 6.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.91e-07/1.363, allocations: 0 / 1.087 GB, free: 6.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002646/1.365, allocations: 0.5832 MB / 1.087 GB, free: 5.98 MB / 0.698 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 () * 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.00253/1.368, allocations: 1.495 MB / 1.089 GB, free: 4.539 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.371, allocations: 0.8929 MB / 1.09 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.371, allocations: 0.75 kB / 1.09 GB, free: 3.633 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006996/1.372, allocations: 326.4 kB / 1.09 GB, free: 3.301 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/1.374, allocations: 265.5 kB / 1.09 GB, free: 3.039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/1.38, allocations: 2.258 MB / 1.093 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.382, allocations: 1.168 MB / 1.094 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00115/1.383, allocations: 254.8 kB / 1.094 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/1.384, allocations: 311.3 kB / 1.094 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/1.384, allocations: 0 / 1.094 GB, free: 14.98 MB / 0.7136 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).