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.715/1.715, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.0013/0.0013, allocations: 177 kB / 377.1 MB, free: 1.523 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.762/1.762, allocations: 205.4 MB / 0.6366 GB, free: 8.598 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.0009457/0.0009457, allocations: 92.52 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003743, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7741/1.071, allocations: 149.3 MB / 1.134 GB, free: 27.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.071, allocations: 77.52 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1198/1.191, allocations: 33.81 MB / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.843e-06/1.191, allocations: 0 / 1.167 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001575/1.191, allocations: 16 kB / 1.167 GB, free: 15.29 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.005716/1.197, allocations: 1.608 MB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.197, allocations: 12.02 kB / 1.169 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/1.197, allocations: 70.53 kB / 1.169 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007223/1.198, allocations: 110.1 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005157/1.203, allocations: 2.089 MB / 1.171 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.203, allocations: 32.66 kB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.203, allocations: 52 kB / 1.171 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.204, allocations: 0.5375 MB / 1.172 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/1.204, allocations: 3.938 kB / 1.172 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.37e-05/1.204, allocations: 12 kB / 1.172 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.204, allocations: 9.875 kB / 1.172 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/1.205, allocations: 353.8 kB / 1.172 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/1.21, allocations: 3.136 MB / 1.175 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/1.212, allocations: 0.6588 MB / 1.176 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.212, allocations: 0 / 1.176 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.212, allocations: 38.56 kB / 1.176 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/1.212, allocations: 0 / 1.176 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26): time 0.001584/1.213, allocations: 0.7678 MB / 1.177 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.214, allocations: 55.41 kB / 1.177 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.216, allocations: 1.272 MB / 1.178 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/1.216, allocations: 45.64 kB / 1.178 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/1.216, allocations: 408.8 kB / 1.178 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/1.217, allocations: 110.5 kB / 1.178 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/1.217, allocations: 12 kB / 1.178 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.217, allocations: 334 kB / 1.179 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/1.217, allocations: 289.1 kB / 1.179 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/1.218, allocations: 0.5868 MB / 1.18 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/1.219, allocations: 378 kB / 1.18 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/1.219, allocations: 7.953 kB / 1.18 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002434/1.221, allocations: 1.244 MB / 1.181 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/1.221, allocations: 12 kB / 1.181 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/1.221, allocations: 8 kB / 1.181 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/1.223, allocations: 447.4 kB / 1.182 GB, free: 112 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/1.223, allocations: 119.8 kB / 1.182 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/1.23, allocations: 5 MB / 1.187 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.233, allocations: 434.4 kB / 1.187 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.128e-05/1.233, allocations: 36 kB / 1.187 GB, free: 10.41 MB / 0.7605 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.0009397/1.234, allocations: 433.3 kB / 1.188 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/1.234, allocations: 86.88 kB / 1.188 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/1.234, allocations: 101.8 kB / 1.188 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.234, allocations: 3.984 kB / 1.188 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.234, allocations: 4 kB / 1.188 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/1.234, allocations: 0 / 1.188 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/1.236, allocations: 1.127 MB / 1.189 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.236, allocations: 0 / 1.189 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/1.237, allocations: 95.84 kB / 1.189 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.237, allocations: 40.83 kB / 1.189 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/1.237, allocations: 19.98 kB / 1.189 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/1.239, allocations: 1.424 MB / 1.19 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.239, allocations: 0.8438 kB / 1.19 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/1.24, allocations: 0.8297 MB / 1.191 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.242, allocations: 0.9496 MB / 1.192 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/1.242, allocations: 19.98 kB / 1.192 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.243, allocations: 203.6 kB / 1.192 GB, free: 4.73 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/1.243, allocations: 15.94 kB / 1.192 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/1.243, allocations: 11.98 kB / 1.192 GB, free: 4.703 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002145/1.246, allocations: 0.9753 MB / 1.193 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.81e-07/1.246, allocations: 0 / 1.193 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002163/1.248, allocations: 0.5702 MB / 1.194 GB, free: 3.148 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 () * 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.002324/1.25, allocations: 1.499 MB / 1.195 GB, free: 1.625 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002255/1.252, allocations: 0.9286 MB / 1.196 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.252, allocations: 0 / 1.196 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.253, allocations: 322.4 kB / 1.197 GB, free: 368 kB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.254, allocations: 270 kB / 1.197 GB, free: 104 kB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/1.264, allocations: 10.34 MB / 1.207 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.266, allocations: 1.166 MB / 1.208 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008779/1.267, allocations: 260.7 kB / 1.208 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/1.267, allocations: 311.3 kB / 1.209 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of SimCode: time 1.363e-06/1.267, allocations: 4 kB / 1.209 GB, free: 3.754 MB / 0.7761 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).