Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 187.4 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.1 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009975, allocations: 101 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 10.56 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.47, allocations: 162.8 MB / 1.382 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4704, allocations: 79.97 kB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1276/0.598, allocations: 39.62 MB / 1.421 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.598, allocations: 4 kB / 1.421 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000169/0.5982, allocations: 31.94 kB / 1.421 GB, free: 7.254 MB / 0.9167 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.005271/0.6035, allocations: 1.805 MB / 1.422 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6036, allocations: 8.031 kB / 1.422 GB, free: 5.383 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.6038, allocations: 86.86 kB / 1.423 GB, free: 5.289 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.6045, allocations: 169.9 kB / 1.423 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004971/0.6094, allocations: 1.87 MB / 1.425 GB, free: 3.203 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.926e-05/0.6095, allocations: 57 kB / 1.425 GB, free: 3.148 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.6097, allocations: 80 kB / 1.425 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.6106, allocations: 0.5195 MB / 1.425 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6107, allocations: 0 / 1.425 GB, free: 2.516 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.6107, allocations: 16 kB / 1.425 GB, free: 2.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.6107, allocations: 12 kB / 1.425 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.6114, allocations: 335.6 kB / 1.426 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5543/1.166, allocations: 3.225 MB / 1.429 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.167, allocations: 455.1 kB / 1.429 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/1.167, allocations: 2.875 kB / 1.429 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/1.167, allocations: 43.97 kB / 1.429 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/1.167, allocations: 0 / 1.429 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28): time 0.002405/1.169, allocations: 1.044 MB / 1.43 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/1.169, allocations: 58.86 kB / 1.43 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/1.172, allocations: 1.546 MB / 1.432 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/1.172, allocations: 43.7 kB / 1.432 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/1.172, allocations: 0.5761 MB / 1.432 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/1.173, allocations: 100.6 kB / 1.432 GB, free: 179 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/1.173, allocations: 22.16 kB / 1.432 GB, free: 179 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/1.173, allocations: 353 kB / 1.433 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/1.173, allocations: 291.3 kB / 1.433 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/1.174, allocations: 0.9017 MB / 1.434 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/1.175, allocations: 431.9 kB / 1.434 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.175, allocations: 7.281 kB / 1.434 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002362/1.177, allocations: 1.379 MB / 1.436 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.177, allocations: 14.62 kB / 1.436 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/1.177, allocations: 22.38 kB / 1.436 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/1.178, allocations: 198.3 kB / 1.436 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/1.179, allocations: 228.9 kB / 1.436 GB, free: 177.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003812/1.183, allocations: 4.841 MB / 1.441 GB, free: 174 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.184, allocations: 187.1 kB / 1.441 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/1.184, allocations: 59.44 kB / 1.441 GB, free: 173.9 MB / 0.9167 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.0007556/1.185, allocations: 476.5 kB / 1.442 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/1.185, allocations: 132.3 kB / 1.442 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/1.185, allocations: 123.4 kB / 1.442 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.185, allocations: 5.359 kB / 1.442 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.186, allocations: 7.859 kB / 1.442 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.186, allocations: 0.75 kB / 1.442 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/1.187, allocations: 0.9457 MB / 1.443 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/1.187, allocations: 1.812 kB / 1.443 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.187, allocations: 35.7 kB / 1.443 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004905/1.188, allocations: 167.7 kB / 1.443 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/1.188, allocations: 6.75 kB / 1.443 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/1.191, allocations: 4.781 MB / 1.448 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.191, allocations: 0 / 1.448 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/1.192, allocations: 0.8514 MB / 1.448 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008758/1.193, allocations: 0.9476 MB / 1.449 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.193, allocations: 7.984 kB / 1.449 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/1.194, allocations: 51.34 kB / 1.449 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.194, allocations: 29.14 kB / 1.449 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/1.194, allocations: 5.781 kB / 1.449 GB, free: 168.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002017/1.196, allocations: 1.15 MB / 1.451 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.91e-07/1.196, allocations: 0 / 1.451 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001769/1.198, allocations: 418.5 kB / 1.451 GB, free: 168.5 MB / 0.9167 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.001837/1.2, allocations: 1.488 MB / 1.452 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001892/1.202, allocations: 1.06 MB / 1.453 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.202, allocations: 0 / 1.453 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007466/1.203, allocations: 0.5538 MB / 1.454 GB, free: 167 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.204, allocations: 320.9 kB / 1.454 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.214, allocations: 18.66 MB / 1.473 GB, free: 150 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.216, allocations: 1.316 MB / 1.474 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001309/1.217, allocations: 238 kB / 1.474 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/1.218, allocations: 474.6 kB / 1.475 GB, free: 149 MB / 0.9167 GB Notification: Performance of SimCode: time 1.853e-06/1.218, allocations: 1.094 kB / 1.475 GB, free: 149 MB / 0.9167 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).