Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.174/4.175, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.385e-05, allocations: 8.156 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2314, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.5209, allocations: 135 MB / 0.7665 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5212, allocations: 79.95 kB / 0.7666 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.792/1.313, allocations: 37.28 MB / 0.803 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.755e-06/1.313, allocations: 0 / 0.803 GB, free: 132.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001627/1.314, allocations: 15.72 kB / 0.803 GB, free: 132.6 MB / 0.6511 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.003581/1.317, allocations: 0.99 MB / 0.804 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.317, allocations: 10.5 kB / 0.804 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/1.317, allocations: 69.81 kB / 0.8041 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.319, allocations: 109.6 kB / 0.8042 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007497/1.326, allocations: 2.058 MB / 0.8062 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/1.326, allocations: 36.56 kB / 0.8062 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/1.326, allocations: 56.73 kB / 0.8063 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.328, allocations: 0.5332 MB / 0.8068 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/1.328, allocations: 0 / 0.8068 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/1.328, allocations: 13.75 kB / 0.8068 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/1.328, allocations: 7.438 kB / 0.8068 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/1.328, allocations: 328.4 kB / 0.8071 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006056/1.334, allocations: 3.169 MB / 0.8102 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/1.338, allocations: 0.6559 MB / 0.8109 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/1.338, allocations: 192.6 kB / 0.811 GB, free: 128 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/1.338, allocations: 7.812 kB / 0.811 GB, free: 128 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/1.338, allocations: 34.55 kB / 0.8111 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/1.338, allocations: 3.906 kB / 0.8111 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.001623/1.34, allocations: 496 kB / 0.8116 GB, free: 127.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/1.34, allocations: 51.41 kB / 0.8116 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/1.343, allocations: 1.256 MB / 0.8128 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000243/1.343, allocations: 49.52 kB / 0.8129 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.344, allocations: 420.7 kB / 0.8133 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/1.344, allocations: 110.5 kB / 0.8134 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/1.344, allocations: 8 kB / 0.8134 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.344, allocations: 345.9 kB / 0.8137 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006138/1.345, allocations: 273.4 kB / 0.814 GB, free: 125 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/1.346, allocations: 0.6612 MB / 0.8146 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/1.347, allocations: 363.6 kB / 0.815 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.347, allocations: 4 kB / 0.815 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003239/1.35, allocations: 1.235 MB / 0.8162 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.35, allocations: 15.98 kB / 0.8162 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/1.35, allocations: 8 kB / 0.8162 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/1.352, allocations: 448.4 kB / 0.8166 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/1.353, allocations: 111.8 kB / 0.8167 GB, free: 122 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009242/1.362, allocations: 4.839 MB / 0.8215 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004224/1.367, allocations: 450.6 kB / 0.8219 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/1.367, allocations: 32 kB / 0.8219 GB, free: 116.6 MB / 0.6511 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.0001835/1.367, allocations: 146.6 kB / 0.8221 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002797/1.367, allocations: 94.78 kB / 0.8222 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/1.368, allocations: 108.6 kB / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.368, allocations: 7.953 kB / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.368, allocations: 4 kB / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.368, allocations: 0 / 0.8223 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.369, allocations: 1.111 MB / 0.8234 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/1.37, allocations: 4 kB / 0.8234 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009046/1.37, allocations: 83.91 kB / 0.8234 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/1.371, allocations: 48.83 kB / 0.8235 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/1.371, allocations: 16.03 kB / 0.8235 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/1.372, allocations: 1.424 MB / 0.8249 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.372, allocations: 0 / 0.8249 GB, free: 113.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/1.374, allocations: 0.8028 MB / 0.8257 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.375, allocations: 0.9491 MB / 0.8266 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.375, allocations: 15.94 kB / 0.8266 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.378, allocations: 215.6 kB / 0.8268 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.378, allocations: 23.97 kB / 0.8269 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/1.378, allocations: 4 kB / 0.8269 GB, free: 111.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001997/1.38, allocations: 0.9516 MB / 0.8278 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.022e-06/1.38, allocations: 0 / 0.8278 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002426/1.382, allocations: 0.5897 MB / 0.8284 GB, free: 109.6 MB / 0.6511 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.002167/1.384, allocations: 1.492 MB / 0.8298 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002755/1.387, allocations: 0.8974 MB / 0.8307 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/1.387, allocations: 0 / 0.8307 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/1.388, allocations: 318.4 kB / 0.831 GB, free: 106.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.39, allocations: 257 kB / 0.8312 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/1.395, allocations: 2.262 MB / 0.8335 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/1.396, allocations: 1.172 MB / 0.8346 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00107/1.397, allocations: 254.8 kB / 0.8348 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006899/1.398, allocations: 312 kB / 0.8351 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.398, allocations: 0 / 0.8351 GB, free: 102.6 MB / 0.6511 GB Error: Template error: A template call failed (/var/lib/jenkins/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).