Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01061, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001158/0.001158, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.052/2.052, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.401/2.401, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.0006329, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7029, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/1.03, allocations: 138.2 MB / 0.8184 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.03, allocations: 79.97 kB / 0.8185 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.2699/1.3, allocations: 44.79 MB / 0.8622 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 9.448e-06/1.3, allocations: 8 kB / 0.8622 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002197/1.301, allocations: 28 kB / 0.8623 GB, free: 6.77 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.008092/1.309, allocations: 1.805 MB / 0.864 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.409e-05/1.309, allocations: 15.97 kB / 0.864 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/1.309, allocations: 82.52 kB / 0.8641 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/1.31, allocations: 174.3 kB / 0.8643 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008518/1.319, allocations: 1.906 MB / 0.8662 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/1.319, allocations: 57 kB / 0.8662 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.319, allocations: 84 kB / 0.8663 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.32, allocations: 0.5195 MB / 0.8668 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.32, allocations: 3.984 kB / 0.8668 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/1.32, allocations: 19.94 kB / 0.8668 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/1.321, allocations: 12 kB / 0.8668 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/1.322, allocations: 335.7 kB / 0.8671 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007915/1.33, allocations: 3.267 MB / 0.8703 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.331, allocations: 459 kB / 0.8708 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/1.331, allocations: 0 / 0.8708 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/1.331, allocations: 42.5 kB / 0.8708 GB, free: 13.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/1.331, allocations: 0 / 0.8708 GB, free: 13.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.00375/1.335, allocations: 1.047 MB / 0.8718 GB, free: 12.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.335, allocations: 59.36 kB / 0.8719 GB, free: 12.44 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003916/1.339, allocations: 1.546 MB / 0.8734 GB, free: 10.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/1.34, allocations: 45.7 kB / 0.8734 GB, free: 10.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008086/1.34, allocations: 0.584 MB / 0.874 GB, free: 10.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/1.341, allocations: 98.56 kB / 0.8741 GB, free: 10.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/1.341, allocations: 20 kB / 0.8741 GB, free: 10.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002099/1.341, allocations: 349.9 kB / 0.8745 GB, free: 9.781 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/1.342, allocations: 298.4 kB / 0.8747 GB, free: 9.492 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.343, allocations: 0.9983 MB / 0.8757 GB, free: 8.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.345, allocations: 451.5 kB / 0.8762 GB, free: 7.719 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/1.345, allocations: 4 kB / 0.8762 GB, free: 7.715 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.004206/1.349, allocations: 1.374 MB / 0.8775 GB, free: 6.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/1.349, allocations: 24.02 kB / 0.8775 GB, free: 6.301 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/1.349, allocations: 24 kB / 0.8775 GB, free: 6.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/1.35, allocations: 194.4 kB / 0.8777 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.352, allocations: 227.6 kB / 0.8779 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006748/1.358, allocations: 4.837 MB / 0.8827 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.361, allocations: 206.5 kB / 0.8829 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/1.361, allocations: 60 kB / 0.8829 GB, free: 364 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001195/1.363, allocations: 477.7 kB / 0.8834 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004777/1.363, allocations: 138.2 kB / 0.8835 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/1.364, allocations: 122.2 kB / 0.8836 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.364, allocations: 4 kB / 0.8836 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/1.364, allocations: 4.094 kB / 0.8836 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.364, allocations: 7.922 kB / 0.8836 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/1.366, allocations: 0.9482 MB / 0.8846 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.366, allocations: 3.953 kB / 0.8846 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/1.366, allocations: 31.98 kB / 0.8846 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008852/1.367, allocations: 170.4 kB / 0.8848 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.367, allocations: 8 kB / 0.8848 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006515/1.374, allocations: 4.772 MB / 0.8894 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/1.374, allocations: 7.922 kB / 0.8894 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.376, allocations: 0.8398 MB / 0.8903 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.378, allocations: 0.9406 MB / 0.8912 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/1.378, allocations: 8 kB / 0.8912 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.379, allocations: 55.83 kB / 0.8912 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.379, allocations: 31.91 kB / 0.8913 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/1.379, allocations: 8 kB / 0.8913 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002991/1.382, allocations: 1.145 MB / 0.8924 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.31e-07/1.382, allocations: 0 / 0.8924 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002441/1.385, allocations: 427.6 kB / 0.8928 GB, free: 5.594 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],con2.T[1],con2.T[2]) * 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 (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00307/1.388, allocations: 1.492 MB / 0.8943 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00279/1.391, allocations: 1.062 MB / 0.8953 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.391, allocations: 0 / 0.8953 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/1.392, allocations: 0.5573 MB / 0.8958 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/1.395, allocations: 325.9 kB / 0.8962 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.607/2.002, allocations: 18.67 MB / 0.9144 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/2.003, allocations: 1.321 MB / 0.9157 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001299/2.005, allocations: 235.4 kB / 0.9159 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000911/2.006, allocations: 480.6 kB / 0.9164 GB, free: 186.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/2.006, allocations: 0 / 0.9164 GB, free: 186.2 MB / 0.7292 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).