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.227/2.227, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.00154, allocations: 181.3 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.243/2.243, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001146/0.001145, allocations: 91.59 kB / 0.6809 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005021, allocations: 14.94 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2643/0.4796, allocations: 141.9 MB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.48, allocations: 79.95 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7965/1.276, allocations: 33.8 MB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.266e-06/1.277, allocations: 0.75 kB / 1.07 GB, free: 145.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001587/1.277, allocations: 17.89 kB / 1.07 GB, free: 145.2 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.008547/1.285, allocations: 1.612 MB / 1.072 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/1.285, allocations: 9.188 kB / 1.072 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003438/1.286, allocations: 69.47 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/1.287, allocations: 112.4 kB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008889/1.296, allocations: 2.082 MB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/1.296, allocations: 31.16 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/1.296, allocations: 50.31 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/1.297, allocations: 0.5409 MB / 1.075 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.297, allocations: 1.562 kB / 1.075 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/1.298, allocations: 14.67 kB / 1.075 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/1.298, allocations: 7.875 kB / 1.075 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/1.298, allocations: 352 kB / 1.075 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006393/1.305, allocations: 3.135 MB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/1.308, allocations: 0.6647 MB / 1.079 GB, free: 142.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.412e-05/1.308, allocations: 6.453 kB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.308, allocations: 35.56 kB / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.515e-06/1.308, allocations: 0 / 1.079 GB, free: 142.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.002414/1.311, allocations: 0.7682 MB / 1.08 GB, free: 142.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/1.311, allocations: 54.34 kB / 1.08 GB, free: 142.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003329/1.314, allocations: 1.271 MB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.314, allocations: 40.5 kB / 1.081 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/1.315, allocations: 411.3 kB / 1.081 GB, free: 141.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.315, allocations: 111.8 kB / 1.082 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/1.315, allocations: 15.47 kB / 1.082 GB, free: 141.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/1.315, allocations: 334.5 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/1.316, allocations: 287.7 kB / 1.082 GB, free: 141.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/1.317, allocations: 0.5816 MB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009011/1.318, allocations: 386.6 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.318, allocations: 3.5 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004069/1.322, allocations: 1.244 MB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/1.322, allocations: 11.41 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/1.322, allocations: 9.969 kB / 1.084 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.325, allocations: 453 kB / 1.085 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006985/1.325, allocations: 111.5 kB / 1.085 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009546/1.335, allocations: 4.995 MB / 1.09 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/1.339, allocations: 437.1 kB / 1.09 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/1.339, allocations: 38.83 kB / 1.09 GB, free: 137.8 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.0008163/1.34, allocations: 432 kB / 1.091 GB, free: 137.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004131/1.34, allocations: 87.06 kB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/1.341, allocations: 103 kB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/1.341, allocations: 3.5 kB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/1.341, allocations: 3.984 kB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.341, allocations: 3.562 kB / 1.091 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/1.342, allocations: 1.12 MB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.343, allocations: 1.75 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/1.343, allocations: 98.09 kB / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/1.344, allocations: 42.98 kB / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.395e-05/1.344, allocations: 14.77 kB / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/1.345, allocations: 1.424 MB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.345, allocations: 6.125 kB / 1.093 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/1.347, allocations: 0.8396 MB / 1.094 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.348, allocations: 0.9503 MB / 1.095 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.348, allocations: 11.44 kB / 1.095 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/1.351, allocations: 205.6 kB / 1.095 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.351, allocations: 18.39 kB / 1.095 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/1.351, allocations: 10.75 kB / 1.095 GB, free: 133.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002096/1.353, allocations: 0.9727 MB / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.61e-07/1.353, allocations: 0 / 1.096 GB, free: 132.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00244/1.355, allocations: 0.5832 MB / 1.097 GB, free: 132.8 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 () * 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.00221/1.358, allocations: 1.485 MB / 1.098 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002777/1.36, allocations: 0.923 MB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.36, allocations: 0 / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/1.361, allocations: 327.1 kB / 1.1 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/1.363, allocations: 277.6 kB / 1.1 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/1.372, allocations: 10.34 MB / 1.11 GB, free: 121.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008666/1.372, allocations: 1.176 MB / 1.111 GB, free: 119.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001109/1.374, allocations: 254.8 kB / 1.111 GB, free: 119.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006933/1.374, allocations: 315.3 kB / 1.112 GB, free: 119.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.984e-06/1.374, allocations: 0 / 1.112 GB, free: 119.3 MB / 0.698 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).