Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",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.0137/0.0137, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001257/0.001256, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.01/2.01, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.474/2.474, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.73, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3/1.03, allocations: 138.2 MB / 0.8183 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.03, allocations: 83.97 kB / 0.8184 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.374/1.404, allocations: 48.83 MB / 0.8661 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/1.405, allocations: 0 / 0.8661 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002123/1.405, allocations: 35.94 kB / 0.8661 GB, free: 2.816 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.01023/1.415, allocations: 2.098 MB / 0.8682 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.415, allocations: 8.031 kB / 0.8682 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/1.415, allocations: 94.52 kB / 0.8683 GB, free: 0.5547 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/1.417, allocations: 190.1 kB / 0.8684 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.428, allocations: 2.554 MB / 0.8709 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/1.428, allocations: 65.31 kB / 0.871 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/1.429, allocations: 96 kB / 0.8711 GB, free: 13.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/1.43, allocations: 0.6838 MB / 0.8718 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.43, allocations: 0 / 0.8718 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/1.43, allocations: 24 kB / 0.8718 GB, free: 12.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/1.43, allocations: 12 kB / 0.8718 GB, free: 12.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/1.432, allocations: 431.5 kB / 0.8722 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008965/1.441, allocations: 4.136 MB / 0.8762 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/1.444, allocations: 0.6895 MB / 0.8769 GB, free: 7.348 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.343e-05/1.444, allocations: 4 kB / 0.8769 GB, free: 7.344 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/1.444, allocations: 34.55 kB / 0.877 GB, free: 7.301 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.958e-06/1.444, allocations: 0 / 0.877 GB, free: 7.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.004245/1.448, allocations: 1.159 MB / 0.8781 GB, free: 6.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/1.448, allocations: 55.41 kB / 0.8781 GB, free: 6.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003775/1.452, allocations: 1.543 MB / 0.8797 GB, free: 4.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/1.452, allocations: 49.7 kB / 0.8797 GB, free: 4.426 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008943/1.453, allocations: 0.639 MB / 0.8803 GB, free: 3.781 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/1.453, allocations: 141.9 kB / 0.8805 GB, free: 3.641 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/1.454, allocations: 24 kB / 0.8805 GB, free: 3.617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.454, allocations: 357.9 kB / 0.8808 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.455, allocations: 394.3 kB / 0.8812 GB, free: 2.875 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/1.457, allocations: 1.143 MB / 0.8823 GB, free: 1.379 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.458, allocations: 0.5501 MB / 0.8829 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.458, allocations: 7.953 kB / 0.8829 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004998/1.463, allocations: 1.622 MB / 0.8844 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/1.463, allocations: 23.92 kB / 0.8845 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/1.463, allocations: 24 kB / 0.8845 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/1.464, allocations: 190 kB / 0.8847 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.466, allocations: 279.6 kB / 0.8849 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005824/1.472, allocations: 3.799 MB / 0.8886 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.476, allocations: 302.2 kB / 0.8889 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.476, allocations: 68 kB / 0.889 GB, free: 10.24 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (135): * Single equations (assignments): 133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001219/1.477, allocations: 0.5114 MB / 0.8895 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004108/1.478, allocations: 142.1 kB / 0.8896 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/1.478, allocations: 143.2 kB / 0.8898 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/1.478, allocations: 7.953 kB / 0.8898 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/1.478, allocations: 8 kB / 0.8898 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.478, allocations: 0 / 0.8898 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/1.48, allocations: 1.141 MB / 0.8909 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.48, allocations: 0 / 0.8909 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/1.481, allocations: 75.88 kB / 0.891 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007944/1.482, allocations: 157.6 kB / 0.8911 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/1.482, allocations: 11.98 kB / 0.8911 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005629/1.488, allocations: 3.745 MB / 0.8948 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.488, allocations: 0 / 0.8948 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/1.491, allocations: 1.042 MB / 0.8958 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.492, allocations: 0.9638 MB / 0.8968 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/1.493, allocations: 19.98 kB / 0.8968 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/1.494, allocations: 107.8 kB / 0.8969 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/1.495, allocations: 27.91 kB / 0.8969 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/1.495, allocations: 7.984 kB / 0.8969 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00279/1.497, allocations: 1.155 MB / 0.898 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.01e-07/1.497, allocations: 0 / 0.898 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002788/1.5, allocations: 0.562 MB / 0.8986 GB, free: 15.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003413/1.504, allocations: 1.711 MB / 0.9003 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003032/1.507, allocations: 1.134 MB / 0.9014 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.507, allocations: 0 / 0.9014 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.508, allocations: 0.5183 MB / 0.9019 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.511, allocations: 361.5 kB / 0.9022 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6208/2.132, allocations: 20.04 MB / 0.9218 GB, free: 178.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/2.134, allocations: 1.399 MB / 0.9232 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002464/2.137, allocations: 327.2 kB / 0.9235 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/2.139, allocations: 0.5195 MB / 0.924 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of SimCode: time 1.593e-06/2.139, allocations: 0 / 0.924 GB, free: 177.5 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).