Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 289.7 MB / 302.3 MB, free: 2.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 183.6 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 87.73 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.345e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3109, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9159/1.227, allocations: 152.5 MB / 1.129 GB, free: 34.54 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.227, allocations: 81.92 kB / 1.129 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1283/1.356, allocations: 39.25 MB / 1.167 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.694e-06/1.356, allocations: 4 kB / 1.167 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001125/1.356, allocations: 31.94 kB / 1.167 GB, free: 10.37 MB / 0.7448 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.002245/1.358, allocations: 1.265 MB / 1.168 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.093e-05/1.358, allocations: 12.03 kB / 1.168 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/1.358, allocations: 89.14 kB / 1.169 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/1.359, allocations: 166.3 kB / 1.169 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/1.362, allocations: 1.827 MB / 1.17 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/1.362, allocations: 52.94 kB / 1.171 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.363, allocations: 82.3 kB / 1.171 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/1.363, allocations: 0.5041 MB / 1.171 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/1.363, allocations: 4 kB / 1.171 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/1.363, allocations: 18.25 kB / 1.171 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.363, allocations: 8 kB / 1.171 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/1.364, allocations: 314 kB / 1.171 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/1.368, allocations: 3.229 MB / 1.175 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/1.368, allocations: 447.6 kB / 1.175 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/1.369, allocations: 174 kB / 1.175 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/1.369, allocations: 5.406 kB / 1.175 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/1.369, allocations: 38.25 kB / 1.175 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/1.369, allocations: 0 / 1.175 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.001023/1.37, allocations: 0.5498 MB / 1.176 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/1.37, allocations: 51.41 kB / 1.176 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.372, allocations: 1.524 MB / 1.177 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/1.372, allocations: 44.86 kB / 1.177 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/1.372, allocations: 0.5785 MB / 1.178 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/1.372, allocations: 105.1 kB / 1.178 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/1.372, allocations: 26.25 kB / 1.178 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/1.372, allocations: 350.3 kB / 1.178 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/1.373, allocations: 286.7 kB / 1.179 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007887/1.374, allocations: 0.888 MB / 1.18 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005986/1.374, allocations: 428.7 kB / 1.18 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/1.374, allocations: 8 kB / 1.18 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002044/1.376, allocations: 1.343 MB / 1.181 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.376, allocations: 12 kB / 1.181 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.376, allocations: 28.73 kB / 1.181 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/1.377, allocations: 202.7 kB / 1.181 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/1.378, allocations: 226.5 kB / 1.182 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/1.382, allocations: 4.765 MB / 1.186 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.384, allocations: 179.2 kB / 1.187 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/1.384, allocations: 58.62 kB / 1.187 GB, free: 8.652 MB / 0.7605 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 () * 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.0002045/1.384, allocations: 182.3 kB / 1.187 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.384, allocations: 138.2 kB / 1.187 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/1.385, allocations: 123.2 kB / 1.187 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.385, allocations: 4 kB / 1.187 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/1.385, allocations: 4 kB / 1.187 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.385, allocations: 3.984 kB / 1.187 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/1.386, allocations: 0.9408 MB / 1.188 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.386, allocations: 0 / 1.188 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/1.386, allocations: 44.19 kB / 1.188 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/1.387, allocations: 161.9 kB / 1.188 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/1.387, allocations: 10.89 kB / 1.188 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004139/1.391, allocations: 4.714 MB / 1.193 GB, free: 2.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.391, allocations: 3.938 kB / 1.193 GB, free: 2.605 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/1.392, allocations: 0.8206 MB / 1.194 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009507/1.393, allocations: 0.9411 MB / 1.194 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/1.393, allocations: 8.281 kB / 1.194 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/1.394, allocations: 59.08 kB / 1.195 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/1.394, allocations: 27.09 kB / 1.195 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/1.394, allocations: 7.562 kB / 1.195 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001805/1.396, allocations: 1.125 MB / 1.196 GB, free: 0 / 0.7605 GB Notification: Performance of sort global known variables: time 2e-07/1.396, allocations: 0 / 1.196 GB, free: 0 / 0.7605 GB Notification: Performance of remove unused functions: time 0.001535/1.397, allocations: 420.9 kB / 1.196 GB, free: 15.61 MB / 0.7761 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 () * 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.001825/1.399, allocations: 1.478 MB / 1.197 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001634/1.401, allocations: 1.04 MB / 1.199 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.401, allocations: 0 / 1.199 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/1.401, allocations: 0.5369 MB / 1.199 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/1.403, allocations: 321.2 kB / 1.199 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/1.407, allocations: 2.142 MB / 1.201 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/1.408, allocations: 1.32 MB / 1.203 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007129/1.409, allocations: 237.6 kB / 1.203 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/1.409, allocations: 470.1 kB / 1.203 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of SimCode: time 1.793e-06/1.409, allocations: 0 / 1.203 GB, free: 9.023 MB / 0.7761 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).