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.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.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.001077/0.001078, allocations: 181.1 kB / 377.1 MB, free: 1.535 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.54/1.54, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0009424/0.0009424, allocations: 91.52 kB / 0.7509 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.000438, allocations: 12 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2819, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7957/1.078, allocations: 152.5 MB / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/1.078, allocations: 82.17 kB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1324/1.21, allocations: 39.25 MB / 1.176 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/1.21, allocations: 0 / 1.176 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002175/1.211, allocations: 28 kB / 1.176 GB, free: 6.652 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.006049/1.217, allocations: 1.805 MB / 1.178 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.217, allocations: 12.02 kB / 1.178 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002396/1.217, allocations: 82.53 kB / 1.178 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/1.218, allocations: 169.9 kB / 1.178 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005838/1.224, allocations: 1.867 MB / 1.18 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/1.224, allocations: 55.41 kB / 1.18 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/1.224, allocations: 80 kB / 1.18 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.225, allocations: 0.5156 MB / 1.18 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/1.225, allocations: 5.031 kB / 1.18 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/1.225, allocations: 16 kB / 1.18 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/1.225, allocations: 8 kB / 1.18 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/1.226, allocations: 335.7 kB / 1.181 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/1.232, allocations: 3.228 MB / 1.184 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.233, allocations: 462.9 kB / 1.184 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/1.233, allocations: 3.938 kB / 1.184 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/1.233, allocations: 40.38 kB / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/1.233, allocations: 4 kB / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28): time 0.002305/1.235, allocations: 1.04 MB / 1.185 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.235, allocations: 55.41 kB / 1.185 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/1.238, allocations: 1.539 MB / 1.187 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/1.238, allocations: 45.7 kB / 1.187 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/1.238, allocations: 0.5839 MB / 1.187 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.238, allocations: 102.5 kB / 1.188 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/1.238, allocations: 20 kB / 1.188 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.239, allocations: 353.9 kB / 1.188 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/1.239, allocations: 294.4 kB / 1.188 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/1.24, allocations: 0.9044 MB / 1.189 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/1.241, allocations: 427.5 kB / 1.189 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/1.241, allocations: 8 kB / 1.189 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002334/1.243, allocations: 1.37 MB / 1.191 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/1.243, allocations: 16.84 kB / 1.191 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/1.243, allocations: 20 kB / 1.191 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/1.244, allocations: 198.7 kB / 1.191 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006816/1.244, allocations: 231.5 kB / 1.191 GB, free: 6.012 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004148/1.249, allocations: 4.838 MB / 1.196 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.25, allocations: 182.4 kB / 1.196 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/1.25, allocations: 65.94 kB / 1.196 GB, free: 0.5391 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 () * 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.0008908/1.251, allocations: 477.2 kB / 1.197 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.251, allocations: 134.2 kB / 1.197 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/1.252, allocations: 127 kB / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.252, allocations: 4 kB / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.252, allocations: 3.984 kB / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/1.252, allocations: 0 / 1.197 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.253, allocations: 0.9443 MB / 1.198 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.253, allocations: 4 kB / 1.198 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/1.253, allocations: 35.97 kB / 1.198 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/1.254, allocations: 174.3 kB / 1.198 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/1.254, allocations: 7.953 kB / 1.198 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/1.258, allocations: 4.781 MB / 1.203 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.258, allocations: 32 / 1.203 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.259, allocations: 0.8439 MB / 1.204 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.26, allocations: 0.9485 MB / 1.205 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/1.26, allocations: 15.92 kB / 1.205 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/1.261, allocations: 47.83 kB / 1.205 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.261, allocations: 23.97 kB / 1.205 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/1.261, allocations: 8.094 kB / 1.205 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001919/1.263, allocations: 1.149 MB / 1.206 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.2e-07/1.263, allocations: 4 kB / 1.206 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001512/1.265, allocations: 419.6 kB / 1.206 GB, free: 5.781 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 () * 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.00174/1.266, allocations: 1.478 MB / 1.208 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001819/1.268, allocations: 1.062 MB / 1.209 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.268, allocations: 0 / 1.209 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/1.269, allocations: 0.5596 MB / 1.209 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.27, allocations: 318.2 kB / 1.209 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/1.282, allocations: 18.66 MB / 1.228 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.283, allocations: 1.324 MB / 1.229 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0009914/1.284, allocations: 235.1 kB / 1.229 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/1.284, allocations: 472.1 kB / 1.23 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of SimCode: time 1.352e-06/1.284, allocations: 0 / 1.23 GB, free: 13.07 MB / 0.8073 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).