Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorInitialization.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.ConductorInitialization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorInitialization",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.524/1.524, allocations: 249.3 MB / 261.8 MB, free: 5.949 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.0009877/0.0009879, allocations: 180.6 kB / 321.3 MB, free: 14.66 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.745/1.745, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008815/0.0008814, allocations: 84.75 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.212e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7478/0.9988, allocations: 142 MB / 1.031 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.9991, allocations: 71.22 kB / 1.031 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1298/1.129, allocations: 33.84 MB / 1.064 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/1.129, allocations: 0 / 1.064 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.604e-05/1.129, allocations: 16 kB / 1.064 GB, free: 11.27 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00148/1.13, allocations: 0.9927 MB / 1.065 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.131, allocations: 12.03 kB / 1.065 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/1.131, allocations: 68.53 kB / 1.065 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/1.131, allocations: 110.7 kB / 1.065 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/1.135, allocations: 2.017 MB / 1.067 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/1.135, allocations: 34.03 kB / 1.067 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/1.135, allocations: 54.53 kB / 1.067 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/1.136, allocations: 0.5353 MB / 1.067 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.136, allocations: 4 kB / 1.067 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/1.136, allocations: 13.5 kB / 1.067 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/1.136, allocations: 11.98 kB / 1.067 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/1.136, allocations: 335 kB / 1.068 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/1.139, allocations: 3.138 MB / 1.071 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/1.141, allocations: 0.6482 MB / 1.071 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/1.141, allocations: 187.8 kB / 1.072 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/1.141, allocations: 7.938 kB / 1.072 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/1.141, allocations: 33.81 kB / 1.072 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/1.141, allocations: 0 / 1.072 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26): time 0.0008599/1.142, allocations: 0.4927 MB / 1.072 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.142, allocations: 55.41 kB / 1.072 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.144, allocations: 1.26 MB / 1.073 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/1.144, allocations: 40.27 kB / 1.073 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/1.144, allocations: 413 kB / 1.074 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/1.144, allocations: 102.7 kB / 1.074 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/1.144, allocations: 14.56 kB / 1.074 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.145, allocations: 338.3 kB / 1.074 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/1.145, allocations: 279.5 kB / 1.075 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/1.145, allocations: 0.5737 MB / 1.075 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/1.146, allocations: 375 kB / 1.075 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.146, allocations: 4 kB / 1.075 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001849/1.148, allocations: 1.233 MB / 1.077 GB, free: 72 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.148, allocations: 12 kB / 1.077 GB, free: 60 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.148, allocations: 8 kB / 1.077 GB, free: 52 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/1.149, allocations: 441.2 kB / 1.077 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/1.149, allocations: 114.3 kB / 1.077 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/1.155, allocations: 4.843 MB / 1.082 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.157, allocations: 434.8 kB / 1.082 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/1.157, allocations: 31.38 kB / 1.082 GB, free: 11.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/1.157, allocations: 153.2 kB / 1.083 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/1.158, allocations: 94.19 kB / 1.083 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002565/1.158, allocations: 105.9 kB / 1.083 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.158, allocations: 4 kB / 1.083 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.158, allocations: 3.953 kB / 1.083 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.158, allocations: 0 / 1.083 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/1.159, allocations: 1.117 MB / 1.084 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.159, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/1.16, allocations: 91.91 kB / 1.084 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/1.16, allocations: 48.77 kB / 1.084 GB, free: 9.949 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/1.16, allocations: 15.98 kB / 1.084 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.161, allocations: 1.413 MB / 1.085 GB, free: 8.391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.161, allocations: 3.953 kB / 1.085 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/1.162, allocations: 0.8 MB / 1.086 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/1.163, allocations: 0.9529 MB / 1.087 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/1.163, allocations: 19.98 kB / 1.087 GB, free: 6.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/1.164, allocations: 207.7 kB / 1.087 GB, free: 6.246 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/1.164, allocations: 16.16 kB / 1.087 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/1.164, allocations: 8.094 kB / 1.087 GB, free: 6.223 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001276/1.166, allocations: 0.9594 MB / 1.088 GB, free: 5.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.166, allocations: 0 / 1.088 GB, free: 5.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001407/1.167, allocations: 0.5895 MB / 1.089 GB, free: 4.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001529/1.169, allocations: 1.48 MB / 1.09 GB, free: 3.152 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001656/1.17, allocations: 0.893 MB / 1.091 GB, free: 2.246 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.17, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/1.171, allocations: 318.4 kB / 1.091 GB, free: 1.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.172, allocations: 272.2 kB / 1.092 GB, free: 1.656 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/1.176, allocations: 2.254 MB / 1.094 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/1.177, allocations: 1.172 MB / 1.095 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007483/1.177, allocations: 254.8 kB / 1.095 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/1.178, allocations: 315.3 kB / 1.096 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of SimCode: time 9.51e-07/1.178, allocations: 0 / 1.096 GB, free: 13.59 MB / 0.7136 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).