Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorInitialization,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.401/2.401, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 168 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 223.1 MB / 0.7992 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 100 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003441, allocations: 6.938 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3183, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.5303, allocations: 160.4 MB / 1.386 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5307, allocations: 75.97 kB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1309/0.6616, allocations: 34.21 MB / 1.419 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.596e-06/0.6617, allocations: 0 / 1.419 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002583/0.6619, allocations: 20 kB / 1.419 GB, free: 6.539 MB / 0.9167 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.007332/0.6693, allocations: 1.612 MB / 1.421 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.6694, allocations: 8.562 kB / 1.421 GB, free: 4.863 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002725/0.6696, allocations: 66.55 kB / 1.421 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.6705, allocations: 110.7 kB / 1.421 GB, free: 4.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005695/0.6763, allocations: 2.089 MB / 1.423 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.6763, allocations: 32.66 kB / 1.423 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.6765, allocations: 55.94 kB / 1.423 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.6775, allocations: 0.5393 MB / 1.424 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.6775, allocations: 3.938 kB / 1.424 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.6775, allocations: 15.94 kB / 1.424 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6776, allocations: 8 kB / 1.424 GB, free: 1.844 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.6781, allocations: 349.9 kB / 1.424 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8278/1.506, allocations: 3.136 MB / 1.427 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.508, allocations: 0.659 MB / 1.428 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/1.508, allocations: 6.656 kB / 1.428 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.508, allocations: 37.16 kB / 1.428 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 3.977e-06/1.508, allocations: 0 / 1.428 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26): time 0.00146/1.509, allocations: 0.7635 MB / 1.429 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/1.509, allocations: 54.06 kB / 1.429 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/1.511, allocations: 1.271 MB / 1.43 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/1.511, allocations: 39.8 kB / 1.43 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/1.512, allocations: 411.3 kB / 1.43 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/1.512, allocations: 105.2 kB / 1.43 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/1.512, allocations: 15.31 kB / 1.431 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.512, allocations: 335.4 kB / 1.431 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/1.513, allocations: 292.2 kB / 1.431 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000785/1.514, allocations: 0.5799 MB / 1.432 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/1.514, allocations: 389.8 kB / 1.432 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.514, allocations: 5.719 kB / 1.432 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002545/1.517, allocations: 1.252 MB / 1.433 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/1.517, allocations: 9.188 kB / 1.433 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.517, allocations: 9.625 kB / 1.433 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/1.518, allocations: 447.8 kB / 1.434 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.519, allocations: 109.2 kB / 1.434 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007602/1.526, allocations: 5.002 MB / 1.439 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/1.529, allocations: 432.8 kB / 1.439 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/1.529, allocations: 31.88 kB / 1.439 GB, free: 175.4 MB / 0.9167 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.0008406/1.53, allocations: 431.7 kB / 1.44 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/1.53, allocations: 88.19 kB / 1.44 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/1.53, allocations: 104.3 kB / 1.44 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/1.53, allocations: 3.75 kB / 1.44 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.53, allocations: 4 kB / 1.44 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.902e-06/1.53, allocations: 5.438 kB / 1.44 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/1.532, allocations: 1.122 MB / 1.441 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.532, allocations: 0.5625 kB / 1.441 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/1.533, allocations: 94.27 kB / 1.441 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/1.533, allocations: 44.08 kB / 1.441 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/1.533, allocations: 15.48 kB / 1.441 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/1.534, allocations: 1.43 MB / 1.442 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.534, allocations: 1.031 kB / 1.442 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/1.535, allocations: 0.8341 MB / 1.443 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.536, allocations: 0.9465 MB / 1.444 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.537, allocations: 17.33 kB / 1.444 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/1.538, allocations: 208.5 kB / 1.444 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/1.538, allocations: 16.58 kB / 1.444 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/1.538, allocations: 10.27 kB / 1.444 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001783/1.54, allocations: 0.9633 MB / 1.445 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.9e-07/1.54, allocations: 0 / 1.445 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002221/1.542, allocations: 0.5797 MB / 1.446 GB, free: 172.6 MB / 0.9167 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.002103/1.544, allocations: 1.499 MB / 1.447 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002251/1.546, allocations: 0.9275 MB / 1.448 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.546, allocations: 0 / 1.448 GB, free: 171.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/1.547, allocations: 325.2 kB / 1.449 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/1.549, allocations: 264.6 kB / 1.449 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/1.556, allocations: 10.34 MB / 1.459 GB, free: 163 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.557, allocations: 1.174 MB / 1.46 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009526/1.558, allocations: 258.5 kB / 1.46 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/1.558, allocations: 310.3 kB / 1.461 GB, free: 162.3 MB / 0.9167 GB Notification: Performance of SimCode: time 3.086e-06/1.558, allocations: 0 / 1.461 GB, free: 162.3 MB / 0.9167 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).