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.179/2.179, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001179/0.00118, allocations: 168.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009262/0.0009262, allocations: 107.8 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.057e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2507, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7854/1.036, allocations: 160.4 MB / 1.375 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/1.036, allocations: 81.59 kB / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/1.165, allocations: 34.23 MB / 1.409 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.283e-06/1.165, allocations: 4 kB / 1.409 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001239/1.165, allocations: 16 kB / 1.409 GB, free: 11.81 MB / 0.8698 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.001988/1.167, allocations: 0.9934 MB / 1.41 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.167, allocations: 8.031 kB / 1.41 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/1.167, allocations: 68.22 kB / 1.41 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/1.168, allocations: 110.7 kB / 1.41 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004481/1.172, allocations: 2.019 MB / 1.412 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.172, allocations: 35.09 kB / 1.412 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.173, allocations: 61.42 kB / 1.412 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/1.173, allocations: 0.5226 MB / 1.413 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.173, allocations: 7.938 kB / 1.413 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/1.173, allocations: 10.88 kB / 1.413 GB, free: 8.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.173, allocations: 8 kB / 1.413 GB, free: 8.562 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004981/1.174, allocations: 334.7 kB / 1.413 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/1.178, allocations: 3.128 MB / 1.416 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/1.179, allocations: 0.6509 MB / 1.417 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.18, allocations: 189.7 kB / 1.417 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/1.18, allocations: 0 / 1.417 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.18, allocations: 42.06 kB / 1.417 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/1.18, allocations: 0 / 1.417 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0009736/1.181, allocations: 0.4891 MB / 1.417 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.181, allocations: 55.41 kB / 1.417 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.183, allocations: 1.257 MB / 1.419 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/1.183, allocations: 39.77 kB / 1.419 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/1.183, allocations: 411 kB / 1.419 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/1.183, allocations: 113 kB / 1.419 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/1.183, allocations: 14.56 kB / 1.419 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.183, allocations: 336 kB / 1.42 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/1.184, allocations: 278.4 kB / 1.42 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/1.184, allocations: 0.5757 MB / 1.42 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/1.185, allocations: 379.4 kB / 1.421 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.185, allocations: 4 kB / 1.421 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002047/1.187, allocations: 1.227 MB / 1.422 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.187, allocations: 9.25 kB / 1.422 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.187, allocations: 12 kB / 1.422 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/1.188, allocations: 453.1 kB / 1.422 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/1.188, allocations: 111.1 kB / 1.423 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/1.196, allocations: 4.836 MB / 1.427 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.199, allocations: 433.3 kB / 1.428 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.199, allocations: 30.94 kB / 1.428 GB, free: 11.83 MB / 0.8855 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.0002263/1.2, allocations: 154.1 kB / 1.428 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/1.2, allocations: 94.78 kB / 1.428 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/1.2, allocations: 104.2 kB / 1.428 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/1.2, allocations: 3.953 kB / 1.428 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.2, allocations: 11.94 kB / 1.428 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.2, allocations: 0 / 1.428 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/1.203, allocations: 1.113 MB / 1.429 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/1.203, allocations: 0 / 1.429 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/1.203, allocations: 91.91 kB / 1.429 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/1.203, allocations: 48.77 kB / 1.429 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/1.204, allocations: 15.98 kB / 1.429 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001568/1.205, allocations: 1.412 MB / 1.431 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.205, allocations: 0 / 1.431 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/1.207, allocations: 0.8081 MB / 1.431 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.208, allocations: 0.9529 MB / 1.432 GB, free: 6.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/1.208, allocations: 15.94 kB / 1.432 GB, free: 6.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.21, allocations: 203.6 kB / 1.433 GB, free: 6.762 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/1.21, allocations: 15.97 kB / 1.433 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.21, allocations: 8 kB / 1.433 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002142/1.212, allocations: 0.9478 MB / 1.434 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/1.212, allocations: 8 kB / 1.434 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001397/1.214, allocations: 0.5895 MB / 1.434 GB, free: 5.18 MB / 0.8855 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.001496/1.215, allocations: 1.484 MB / 1.436 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001677/1.217, allocations: 0.8996 MB / 1.436 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.217, allocations: 2 kB / 1.436 GB, free: 2.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003933/1.217, allocations: 318.8 kB / 1.437 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/1.219, allocations: 268.1 kB / 1.437 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/1.222, allocations: 2.258 MB / 1.439 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007986/1.223, allocations: 1.168 MB / 1.44 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006173/1.224, allocations: 254.8 kB / 1.441 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.224, allocations: 315.3 kB / 1.441 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of SimCode: time 1.062e-06/1.224, allocations: 4 kB / 1.441 GB, free: 14.1 MB / 0.9011 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).