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.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 181.3 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.5775 GB, free: 20.56 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.001037/0.001037, allocations: 92.45 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 8.562 kB / 0.7963 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4296, allocations: 142.1 MB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.4299, allocations: 71.97 kB / 1.039 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6077/1.038, allocations: 33.81 MB / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.038, allocations: 0 / 1.072 GB, free: 145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.497e-05/1.038, allocations: 18.23 kB / 1.072 GB, free: 145 MB / 0.698 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.00505/1.043, allocations: 1.604 MB / 1.074 GB, free: 144.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/1.043, allocations: 9.719 kB / 1.074 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001279/1.043, allocations: 78.12 kB / 1.074 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004036/1.043, allocations: 109.6 kB / 1.074 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/1.049, allocations: 2.074 MB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/1.049, allocations: 37.88 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.049, allocations: 56.16 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/1.05, allocations: 0.5354 MB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/1.05, allocations: 3.938 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/1.05, allocations: 11.75 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.05, allocations: 12.17 kB / 1.076 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/1.051, allocations: 346.8 kB / 1.077 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/1.055, allocations: 3.14 MB / 1.08 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/1.056, allocations: 0.6577 MB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/1.056, allocations: 2.531 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/1.056, allocations: 40.67 kB / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/1.056, allocations: 0 / 1.08 GB, free: 142 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.00172/1.058, allocations: 0.7673 MB / 1.081 GB, free: 141.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/1.058, allocations: 53.5 kB / 1.081 GB, free: 141.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/1.061, allocations: 1.275 MB / 1.083 GB, free: 141.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.378e-05/1.061, allocations: 37.89 kB / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/1.061, allocations: 412.4 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/1.062, allocations: 104.4 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/1.062, allocations: 15.19 kB / 1.083 GB, free: 141 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.062, allocations: 339.5 kB / 1.083 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/1.062, allocations: 285.9 kB / 1.084 GB, free: 140.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/1.063, allocations: 0.5887 MB / 1.084 GB, free: 140.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/1.064, allocations: 379.6 kB / 1.085 GB, free: 140 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/1.064, allocations: 3.5 kB / 1.085 GB, free: 140 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003813/1.068, allocations: 1.249 MB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.068, allocations: 7.812 kB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.068, allocations: 11.28 kB / 1.086 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/1.069, allocations: 446.1 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.07, allocations: 114.4 kB / 1.086 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/1.076, allocations: 5.002 MB / 1.091 GB, free: 137.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.078, allocations: 433.1 kB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/1.078, allocations: 36.34 kB / 1.092 GB, free: 136.9 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 () * Number of clocked 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.0006423/1.079, allocations: 430.2 kB / 1.092 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.079, allocations: 87.81 kB / 1.092 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.079, allocations: 108.7 kB / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/1.079, allocations: 10.06 kB / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.079, allocations: 0 / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.079, allocations: 0 / 1.092 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.081, allocations: 1.121 MB / 1.093 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.081, allocations: 0 / 1.093 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/1.081, allocations: 94.25 kB / 1.093 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/1.081, allocations: 51.61 kB / 1.094 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/1.081, allocations: 11.95 kB / 1.094 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007998/1.082, allocations: 1.432 MB / 1.095 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.082, allocations: 0 / 1.095 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/1.083, allocations: 0.83 MB / 1.096 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007956/1.084, allocations: 0.948 MB / 1.097 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.084, allocations: 19.48 kB / 1.097 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.085, allocations: 203.6 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.085, allocations: 13.42 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/1.085, allocations: 13.64 kB / 1.097 GB, free: 132.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001287/1.086, allocations: 0.9647 MB / 1.098 GB, free: 131.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.086, allocations: 0 / 1.098 GB, free: 131.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001451/1.088, allocations: 0.5862 MB / 1.098 GB, free: 131.9 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 () * Number of clocked 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.001319/1.089, allocations: 1.498 MB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001648/1.091, allocations: 0.9182 MB / 1.101 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.091, allocations: 0.75 kB / 1.101 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003523/1.091, allocations: 324.2 kB / 1.101 GB, free: 130.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.092, allocations: 268.4 kB / 1.101 GB, free: 129.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/1.097, allocations: 10.34 MB / 1.111 GB, free: 119.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/1.098, allocations: 1.168 MB / 1.113 GB, free: 118.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006376/1.099, allocations: 258.8 kB / 1.113 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/1.099, allocations: 311.3 kB / 1.113 GB, free: 117.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.099, allocations: 0 / 1.113 GB, free: 117.5 MB / 0.698 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).