Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.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.ConductorSteadyStateTransient,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 249.3 MB / 261.9 MB, free: 5.875 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.001677/0.001677, allocations: 190.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.785/1.785, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009471/0.0009471, allocations: 83.8 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.286e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2218, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7382/0.9601, allocations: 145.1 MB / 1.034 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.9604, allocations: 78.06 kB / 1.034 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1515/1.112, allocations: 43.21 MB / 1.076 GB, free: 316 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.016e-06/1.112, allocations: 0 / 1.076 GB, free: 316 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001248/1.112, allocations: 32 kB / 1.076 GB, free: 284 kB / 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.002652/1.115, allocations: 1.427 MB / 1.077 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/1.115, allocations: 8.031 kB / 1.077 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/1.115, allocations: 96.89 kB / 1.077 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/1.116, allocations: 186.1 kB / 1.078 GB, free: 14.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/1.121, allocations: 2.451 MB / 1.08 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/1.121, allocations: 65.06 kB / 1.08 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/1.121, allocations: 92.78 kB / 1.08 GB, free: 12.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.122, allocations: 0.6687 MB / 1.081 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/1.122, allocations: 4 kB / 1.081 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/1.122, allocations: 20.44 kB / 1.081 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.122, allocations: 12 kB / 1.081 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006145/1.123, allocations: 413.8 kB / 1.081 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/1.128, allocations: 4.09 MB / 1.085 GB, free: 8.027 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.13, allocations: 0.6733 MB / 1.086 GB, free: 7.516 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/1.13, allocations: 229.3 kB / 1.086 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.13, allocations: 4 kB / 1.086 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/1.13, allocations: 33.75 kB / 1.086 GB, free: 7.316 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.517e-06/1.13, allocations: 0 / 1.086 GB, free: 7.316 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001384/1.132, allocations: 0.6718 MB / 1.087 GB, free: 6.754 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.132, allocations: 55.41 kB / 1.087 GB, free: 6.688 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/1.134, allocations: 1.529 MB / 1.088 GB, free: 5.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.8e-05/1.134, allocations: 50.14 kB / 1.088 GB, free: 5.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/1.135, allocations: 0.639 MB / 1.089 GB, free: 5.098 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/1.135, allocations: 134 kB / 1.089 GB, free: 4.965 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/1.135, allocations: 28 kB / 1.089 GB, free: 4.938 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.135, allocations: 349.9 kB / 1.089 GB, free: 4.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/1.136, allocations: 386.4 kB / 1.09 GB, free: 4.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.137, allocations: 1.018 MB / 1.091 GB, free: 2.879 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/1.137, allocations: 0.5306 MB / 1.091 GB, free: 2.348 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.137, allocations: 8 kB / 1.091 GB, free: 2.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002832/1.14, allocations: 1.595 MB / 1.093 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.14, allocations: 12 kB / 1.093 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/1.14, allocations: 24.41 kB / 1.093 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005985/1.141, allocations: 197.5 kB / 1.093 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/1.142, allocations: 275.5 kB / 1.093 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/1.146, allocations: 3.717 MB / 1.097 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.148, allocations: 290.2 kB / 1.097 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.148, allocations: 67.94 kB / 1.097 GB, free: 11.88 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.0002683/1.149, allocations: 180.5 kB / 1.098 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/1.149, allocations: 146.2 kB / 1.098 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000453/1.149, allocations: 143.4 kB / 1.098 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/1.149, allocations: 4 kB / 1.098 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.149, allocations: 7.953 kB / 1.098 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.149, allocations: 3.984 kB / 1.098 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/1.151, allocations: 1.141 MB / 1.099 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.151, allocations: 0 / 1.099 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/1.152, allocations: 75.89 kB / 1.099 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/1.152, allocations: 153.6 kB / 1.099 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/1.152, allocations: 16 kB / 1.099 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/1.156, allocations: 3.675 MB / 1.103 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.156, allocations: 0 / 1.103 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/1.158, allocations: 1.014 MB / 1.104 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.159, allocations: 0.9639 MB / 1.105 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.159, allocations: 19.97 kB / 1.105 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/1.16, allocations: 107.8 kB / 1.105 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.16, allocations: 23.97 kB / 1.105 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/1.16, allocations: 15.94 kB / 1.105 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001814/1.162, allocations: 1.139 MB / 1.106 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.162, allocations: 0 / 1.106 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00187/1.164, allocations: 0.5542 MB / 1.106 GB, free: 2.02 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.002322/1.166, allocations: 1.688 MB / 1.108 GB, free: 304 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002079/1.168, allocations: 1.108 MB / 1.109 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.168, allocations: 0 / 1.109 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/1.169, allocations: 0.4967 MB / 1.11 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.171, allocations: 368.1 kB / 1.11 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00529/1.176, allocations: 2.641 MB / 1.113 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/1.178, allocations: 1.395 MB / 1.114 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001033/1.179, allocations: 298.6 kB / 1.114 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.179, allocations: 0.5227 MB / 1.115 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of SimCode: time 1.783e-06/1.179, allocations: 0 / 1.115 GB, free: 9.34 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).