Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 249.3 MB / 261.9 MB, free: 5.938 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.001045/0.001045, allocations: 182.6 kB / 321.3 MB, free: 14.65 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.946/1.946, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0009304/0.0009304, allocations: 100.3 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.195e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2518, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7764/1.028, allocations: 145.2 MB / 1.034 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.029, allocations: 76.62 kB / 1.034 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1749/1.203, allocations: 39.27 MB / 1.072 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/1.204, allocations: 0 / 1.072 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001856/1.204, allocations: 31.94 kB / 1.072 GB, free: 3.797 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.003756/1.208, allocations: 1.263 MB / 1.073 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/1.208, allocations: 12.03 kB / 1.073 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/1.208, allocations: 79.33 kB / 1.073 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.209, allocations: 177.8 kB / 1.074 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006852/1.216, allocations: 1.827 MB / 1.075 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/1.216, allocations: 59.69 kB / 1.075 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/1.216, allocations: 78.38 kB / 1.076 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.217, allocations: 0.5012 MB / 1.076 GB, free: 384 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.217, allocations: 0 / 1.076 GB, free: 384 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/1.217, allocations: 18.5 kB / 1.076 GB, free: 376 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.217, allocations: 8 kB / 1.076 GB, free: 368 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000761/1.218, allocations: 313.1 kB / 1.076 GB, free: 148 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006967/1.225, allocations: 3.236 MB / 1.079 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/1.227, allocations: 450.5 kB / 1.08 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/1.227, allocations: 169.5 kB / 1.08 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.227, allocations: 5.406 kB / 1.08 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.227, allocations: 34.5 kB / 1.08 GB, free: 12.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 4.058e-06/1.227, allocations: 0 / 1.08 GB, free: 12.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.00168/1.229, allocations: 0.5499 MB / 1.081 GB, free: 12.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.229, allocations: 55.34 kB / 1.081 GB, free: 12.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/1.233, allocations: 1.529 MB / 1.082 GB, free: 11.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/1.233, allocations: 42.89 kB / 1.082 GB, free: 10.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006318/1.233, allocations: 0.576 MB / 1.083 GB, free: 10.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/1.234, allocations: 102.3 kB / 1.083 GB, free: 10.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/1.234, allocations: 26.56 kB / 1.083 GB, free: 10.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.234, allocations: 348.2 kB / 1.083 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/1.234, allocations: 283.1 kB / 1.084 GB, free: 10.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.236, allocations: 0.8925 MB / 1.084 GB, free: 8.953 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/1.237, allocations: 423.8 kB / 1.085 GB, free: 8.621 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/1.237, allocations: 8 kB / 1.085 GB, free: 8.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003225/1.24, allocations: 1.354 MB / 1.086 GB, free: 7.477 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/1.24, allocations: 12 kB / 1.086 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.24, allocations: 27.95 kB / 1.086 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008476/1.241, allocations: 195.9 kB / 1.086 GB, free: 7.266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.242, allocations: 226.5 kB / 1.087 GB, free: 7.051 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/1.248, allocations: 4.769 MB / 1.091 GB, free: 2.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.251, allocations: 178.5 kB / 1.091 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.251, allocations: 60 kB / 1.091 GB, free: 1.852 MB / 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 () * 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.0002892/1.251, allocations: 185.5 kB / 1.092 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003847/1.252, allocations: 138.2 kB / 1.092 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/1.252, allocations: 122.2 kB / 1.092 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.252, allocations: 4 kB / 1.092 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.252, allocations: 0 / 1.092 GB, free: 1.402 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.252, allocations: 7.984 kB / 1.092 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/1.254, allocations: 0.9365 MB / 1.093 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.254, allocations: 0 / 1.093 GB, free: 416 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/1.254, allocations: 39.92 kB / 1.093 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007881/1.255, allocations: 166.4 kB / 1.093 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/1.255, allocations: 8 kB / 1.093 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00587/1.261, allocations: 4.714 MB / 1.098 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.261, allocations: 3.938 kB / 1.098 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/1.263, allocations: 0.8238 MB / 1.098 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.265, allocations: 0.9408 MB / 1.099 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/1.265, allocations: 11.98 kB / 1.099 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.267, allocations: 59.77 kB / 1.099 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.267, allocations: 19.97 kB / 1.099 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.267, allocations: 11.94 kB / 1.099 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002062/1.269, allocations: 1.132 MB / 1.101 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/1.269, allocations: 0 / 1.101 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001754/1.271, allocations: 411.7 kB / 1.101 GB, free: 7.504 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 () * 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.00214/1.273, allocations: 1.485 MB / 1.102 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001957/1.275, allocations: 1.027 MB / 1.103 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.275, allocations: 4 kB / 1.103 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008031/1.276, allocations: 0.5442 MB / 1.104 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.277, allocations: 312.2 kB / 1.104 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/1.282, allocations: 2.136 MB / 1.106 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.283, allocations: 1.328 MB / 1.108 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009177/1.284, allocations: 229.6 kB / 1.108 GB, free: 256 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006869/1.285, allocations: 475.3 kB / 1.108 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of SimCode: time 1.233e-06/1.285, allocations: 4 kB / 1.108 GB, free: 15.78 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).