Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",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.151/2.151, allocations: 248.5 MB / 261.1 MB, free: 6.004 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.001419/0.001419, allocations: 182.3 kB / 320.4 MB, free: 15.32 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.958/1.958, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001119/0.001119, allocations: 85.61 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.953e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.2 MB / 0.8907 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9329/1.134, allocations: 144.9 MB / 1.032 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004615/1.134, allocations: 77.7 kB / 1.032 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2558/1.39, allocations: 43.23 MB / 1.074 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.284e-06/1.39, allocations: 0 / 1.074 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002799/1.391, allocations: 31.94 kB / 1.075 GB, free: 0.9492 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.004749/1.395, allocations: 1.42 MB / 1.076 GB, free: 15.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.395, allocations: 8.031 kB / 1.076 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003381/1.396, allocations: 96.83 kB / 1.076 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.397, allocations: 194 kB / 1.076 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009674/1.407, allocations: 2.454 MB / 1.079 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/1.407, allocations: 63.5 kB / 1.079 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003058/1.407, allocations: 94.22 kB / 1.079 GB, free: 13.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/1.409, allocations: 0.6608 MB / 1.079 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.409, allocations: 7.938 kB / 1.079 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-05/1.409, allocations: 24.88 kB / 1.079 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/1.409, allocations: 12 kB / 1.079 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/1.41, allocations: 411.2 kB / 1.08 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009109/1.419, allocations: 4.081 MB / 1.084 GB, free: 8.711 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.422, allocations: 0.6691 MB / 1.084 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/1.423, allocations: 223.5 kB / 1.085 GB, free: 8.055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/1.423, allocations: 7.938 kB / 1.085 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.423, allocations: 41.67 kB / 1.085 GB, free: 8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/1.423, allocations: 3.938 kB / 1.085 GB, free: 7.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.002354/1.425, allocations: 0.668 MB / 1.085 GB, free: 7.438 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/1.425, allocations: 59.34 kB / 1.085 GB, free: 7.367 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/1.43, allocations: 1.534 MB / 1.087 GB, free: 6.203 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002209/1.43, allocations: 47.89 kB / 1.087 GB, free: 6.168 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/1.431, allocations: 0.624 MB / 1.088 GB, free: 5.836 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.431, allocations: 144.4 kB / 1.088 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/1.431, allocations: 23.44 kB / 1.088 GB, free: 5.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002217/1.431, allocations: 357.9 kB / 1.088 GB, free: 5.371 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.433, allocations: 378.8 kB / 1.088 GB, free: 5.098 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/1.436, allocations: 1.014 MB / 1.089 GB, free: 3.902 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/1.438, allocations: 0.5323 MB / 1.09 GB, free: 3.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/1.438, allocations: 11.95 kB / 1.09 GB, free: 3.469 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.0077/1.446, allocations: 1.594 MB / 1.092 GB, free: 2.098 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/1.446, allocations: 16 kB / 1.092 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.58e-05/1.446, allocations: 24 kB / 1.092 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/1.448, allocations: 198 kB / 1.092 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.451, allocations: 279.5 kB / 1.092 GB, free: 1.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009218/1.46, allocations: 3.717 MB / 1.096 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/1.465, allocations: 294.3 kB / 1.096 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/1.466, allocations: 64 kB / 1.096 GB, free: 13.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 () * 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.0004416/1.466, allocations: 181 kB / 1.096 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/1.467, allocations: 142.1 kB / 1.096 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000698/1.468, allocations: 147.4 kB / 1.096 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.468, allocations: 7.953 kB / 1.096 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.468, allocations: 0 / 1.096 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.468, allocations: 0 / 1.096 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/1.472, allocations: 1.149 MB / 1.098 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.472, allocations: 0 / 1.098 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/1.473, allocations: 67.94 kB / 1.098 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/1.475, allocations: 161.5 kB / 1.098 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.475, allocations: 8 kB / 1.098 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008789/1.484, allocations: 3.675 MB / 1.101 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/1.484, allocations: 0 / 1.101 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/1.488, allocations: 1.026 MB / 1.102 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.49, allocations: 0.9639 MB / 1.103 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000532/1.491, allocations: 16 kB / 1.103 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/1.494, allocations: 107.8 kB / 1.103 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.495, allocations: 27.95 kB / 1.103 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/1.495, allocations: 8 kB / 1.103 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004896/1.5, allocations: 1.139 MB / 1.105 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.552e-06/1.5, allocations: 0 / 1.105 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004808/1.504, allocations: 0.562 MB / 1.105 GB, free: 3.375 MB / 0.7136 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 () * 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.005245/1.51, allocations: 1.684 MB / 1.107 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004617/1.514, allocations: 1.106 MB / 1.108 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.515, allocations: 1.875 kB / 1.108 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/1.516, allocations: 0.4892 MB / 1.108 GB, free: 8 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/1.52, allocations: 368.5 kB / 1.109 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.533, allocations: 2.644 MB / 1.111 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/1.535, allocations: 1.395 MB / 1.113 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002384/1.538, allocations: 302.6 kB / 1.113 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.539, allocations: 0.5149 MB / 1.113 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of SimCode: time 1.773e-06/1.539, allocations: 0 / 1.113 GB, free: 10.71 MB / 0.7292 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).