Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.759/1.759, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001318, allocations: 182.9 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009269/0.000927, allocations: 89.77 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/4.012e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.255, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.876/1.131, allocations: 149.2 MB / 1.126 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.131, allocations: 77.06 kB / 1.126 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1289/1.26, allocations: 33.82 MB / 1.159 GB, free: 17.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.475e-06/1.26, allocations: 0 / 1.159 GB, free: 17.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001228/1.261, allocations: 19.98 kB / 1.159 GB, free: 17.91 MB / 0.7448 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.002344/1.263, allocations: 0.9958 MB / 1.16 GB, free: 16.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.263, allocations: 8.031 kB / 1.16 GB, free: 16.9 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/1.263, allocations: 71.11 kB / 1.16 GB, free: 16.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008072/1.264, allocations: 114 kB / 1.16 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/1.268, allocations: 2.021 MB / 1.162 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.268, allocations: 38.53 kB / 1.162 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.269, allocations: 55.91 kB / 1.162 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000853/1.269, allocations: 0.5288 MB / 1.162 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.269, allocations: 7.953 kB / 1.162 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/1.27, allocations: 9.5 kB / 1.163 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.27, allocations: 15.97 kB / 1.163 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/1.27, allocations: 329.9 kB / 1.163 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/1.274, allocations: 3.124 MB / 1.166 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/1.276, allocations: 0.6573 MB / 1.167 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/1.276, allocations: 195.7 kB / 1.167 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/1.276, allocations: 0 / 1.167 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.276, allocations: 39.11 kB / 1.167 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/1.276, allocations: 0 / 1.167 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.00113/1.277, allocations: 498.8 kB / 1.167 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/1.277, allocations: 55.41 kB / 1.167 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.279, allocations: 1.262 MB / 1.169 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/1.279, allocations: 39.89 kB / 1.169 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/1.279, allocations: 412.6 kB / 1.169 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/1.28, allocations: 109.4 kB / 1.169 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/1.28, allocations: 11.31 kB / 1.169 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.28, allocations: 336.5 kB / 1.169 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/1.28, allocations: 283.8 kB / 1.17 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/1.281, allocations: 0.5641 MB / 1.17 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/1.281, allocations: 387.6 kB / 1.171 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.281, allocations: 5.031 kB / 1.171 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001755/1.283, allocations: 1.227 MB / 1.172 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.283, allocations: 8 kB / 1.172 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/1.283, allocations: 12 kB / 1.172 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/1.284, allocations: 444.4 kB / 1.172 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.284, allocations: 107.7 kB / 1.172 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005281/1.29, allocations: 4.837 MB / 1.177 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/1.292, allocations: 436.9 kB / 1.177 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/1.292, allocations: 34.88 kB / 1.177 GB, free: 1.934 MB / 0.7448 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.0001214/1.292, allocations: 139.9 kB / 1.178 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.292, allocations: 94.78 kB / 1.178 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/1.293, allocations: 110.8 kB / 1.178 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.293, allocations: 0 / 1.178 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.293, allocations: 7.938 kB / 1.178 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.293, allocations: 3.953 kB / 1.178 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009849/1.294, allocations: 1.118 MB / 1.179 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.294, allocations: 0 / 1.179 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/1.294, allocations: 84.66 kB / 1.179 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/1.294, allocations: 51.7 kB / 1.179 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/1.294, allocations: 18.05 kB / 1.179 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009599/1.295, allocations: 1.42 MB / 1.18 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.295, allocations: 3.984 kB / 1.18 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/1.296, allocations: 0.8023 MB / 1.181 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000913/1.297, allocations: 0.9542 MB / 1.182 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.297, allocations: 14.23 kB / 1.182 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/1.298, allocations: 207.6 kB / 1.182 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/1.298, allocations: 22.98 kB / 1.182 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/1.298, allocations: 4 kB / 1.182 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001276/1.3, allocations: 0.9521 MB / 1.183 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/1.3, allocations: 4 kB / 1.183 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00152/1.301, allocations: 0.5799 MB / 1.184 GB, free: 11.97 MB / 0.7605 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.0017/1.303, allocations: 1.49 MB / 1.185 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.305, allocations: 0.8994 MB / 1.186 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.305, allocations: 0 / 1.186 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/1.305, allocations: 318.1 kB / 1.187 GB, free: 9.613 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.306, allocations: 269.2 kB / 1.187 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/1.31, allocations: 2.255 MB / 1.189 GB, free: 7.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.31, allocations: 1.169 MB / 1.19 GB, free: 6.211 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006575/1.311, allocations: 256.2 kB / 1.19 GB, free: 5.957 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/1.312, allocations: 309.8 kB / 1.191 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/1.312, allocations: 0 / 1.191 GB, free: 5.879 MB / 0.7605 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).