Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSteadyStateTransient,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSteadyStateTransient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001006/0.001006, allocations: 188.8 kB / 492.3 MB, free: 0.5859 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.57/1.57, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.001114/0.001113, allocations: 103.4 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.111e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.912/1.197, allocations: 162.7 MB / 1.371 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/1.197, allocations: 78.17 kB / 1.371 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1368/1.334, allocations: 43.62 MB / 1.414 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.363e-06/1.334, allocations: 0 / 1.414 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002462/1.334, allocations: 32 kB / 1.414 GB, free: 13.38 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003881/1.338, allocations: 1.429 MB / 1.415 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.338, allocations: 8.031 kB / 1.415 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/1.338, allocations: 96.39 kB / 1.416 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/1.339, allocations: 182.2 kB / 1.416 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006576/1.346, allocations: 2.465 MB / 1.418 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/1.346, allocations: 63.88 kB / 1.418 GB, free: 9.766 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.346, allocations: 92.06 kB / 1.418 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.348, allocations: 0.6657 MB / 1.419 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.348, allocations: 0 / 1.419 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/1.348, allocations: 22.56 kB / 1.419 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/1.348, allocations: 23.94 kB / 1.419 GB, free: 9.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007524/1.349, allocations: 409.5 kB / 1.419 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006343/1.355, allocations: 4.089 MB / 1.423 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.356, allocations: 0.6577 MB / 1.424 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/1.357, allocations: 229.6 kB / 1.424 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/1.357, allocations: 4 kB / 1.424 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/1.357, allocations: 34 kB / 1.424 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.385e-06/1.357, allocations: 4 kB / 1.424 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.001478/1.358, allocations: 0.6705 MB / 1.425 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/1.358, allocations: 55.41 kB / 1.425 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.361, allocations: 1.53 MB / 1.426 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.581e-05/1.361, allocations: 45.08 kB / 1.426 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/1.362, allocations: 0.6347 MB / 1.427 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/1.362, allocations: 141.2 kB / 1.427 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/1.362, allocations: 19.25 kB / 1.427 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.362, allocations: 356.6 kB / 1.428 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/1.363, allocations: 386 kB / 1.428 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.364, allocations: 1.016 MB / 1.429 GB, free: 320 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008588/1.365, allocations: 0.5334 MB / 1.429 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.365, allocations: 8 kB / 1.429 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002803/1.367, allocations: 1.593 MB / 1.431 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.368, allocations: 15.94 kB / 1.431 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/1.368, allocations: 24.41 kB / 1.431 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/1.368, allocations: 191.9 kB / 1.431 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/1.369, allocations: 281.5 kB / 1.432 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/1.373, allocations: 3.724 MB / 1.435 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/1.375, allocations: 287 kB / 1.435 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/1.375, allocations: 65.31 kB / 1.435 GB, free: 10.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 133 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002382/1.376, allocations: 182.5 kB / 1.436 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/1.376, allocations: 146.1 kB / 1.436 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/1.377, allocations: 149 kB / 1.436 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/1.377, allocations: 7.938 kB / 1.436 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-05/1.377, allocations: 7.953 kB / 1.436 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/1.377, allocations: 3.984 kB / 1.436 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/1.379, allocations: 1.143 MB / 1.437 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.379, allocations: 4 kB / 1.437 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/1.379, allocations: 63.95 kB / 1.437 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.38, allocations: 162.6 kB / 1.437 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/1.38, allocations: 7.562 kB / 1.437 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/1.384, allocations: 3.672 MB / 1.441 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.384, allocations: 0 / 1.441 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.385, allocations: 1.012 MB / 1.442 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.387, allocations: 0.9648 MB / 1.443 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/1.387, allocations: 18.3 kB / 1.443 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.388, allocations: 114.8 kB / 1.443 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/1.388, allocations: 23.28 kB / 1.443 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/1.388, allocations: 11.12 kB / 1.443 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00225/1.39, allocations: 1.137 MB / 1.444 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/1.39, allocations: 0 / 1.444 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002046/1.393, allocations: 0.5542 MB / 1.445 GB, free: 1.777 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (conMul.lay[2].T[1],conMul.lay[2].T[2],conMul.lay[2].T[3],con.T[1],con.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00236/1.395, allocations: 1.706 MB / 1.446 GB, free: 260 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002151/1.397, allocations: 1.095 MB / 1.447 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.397, allocations: 4.438 kB / 1.447 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/1.398, allocations: 0.5 MB / 1.448 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.4, allocations: 354.7 kB / 1.448 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/1.408, allocations: 2.637 MB / 1.451 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.409, allocations: 1.393 MB / 1.452 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001245/1.411, allocations: 298.6 kB / 1.452 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/1.411, allocations: 0.5207 MB / 1.453 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/1.411, allocations: 3.938 kB / 1.453 GB, free: 10.43 MB / 0.8698 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).