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.245/2.245, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001082/0.001082, allocations: 183.1 kB / 498.1 MB, free: 5.742 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.413/1.413, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.0009142/0.000914, allocations: 110.9 kB / 0.9346 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 8.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3109, allocations: 142.4 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.5182, allocations: 162.7 MB / 1.382 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5186, allocations: 79.97 kB / 1.382 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6999/1.218, allocations: 43.58 MB / 1.424 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.653e-06/1.219, allocations: 0 / 1.424 GB, free: 164.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001262/1.219, allocations: 32.98 kB / 1.424 GB, free: 164.8 MB / 0.9011 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.005483/1.224, allocations: 2.098 MB / 1.427 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.224, allocations: 9 kB / 1.427 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/1.224, allocations: 96.52 kB / 1.427 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/1.225, allocations: 183.6 kB / 1.427 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/1.23, allocations: 2.501 MB / 1.429 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/1.23, allocations: 63.53 kB / 1.429 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.23, allocations: 98.08 kB / 1.429 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.231, allocations: 0.6861 MB / 1.43 GB, free: 163 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.231, allocations: 5.125 kB / 1.43 GB, free: 163 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.965e-05/1.232, allocations: 23.41 kB / 1.43 GB, free: 163 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/1.232, allocations: 13.06 kB / 1.43 GB, free: 163 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/1.232, allocations: 434.5 kB / 1.431 GB, free: 163 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00484/1.237, allocations: 4.089 MB / 1.435 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/1.239, allocations: 0.6758 MB / 1.435 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/1.239, allocations: 8.906 kB / 1.435 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/1.239, allocations: 34.33 kB / 1.435 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 2.024e-06/1.239, allocations: 0 / 1.435 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.002494/1.241, allocations: 1.154 MB / 1.436 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/1.241, allocations: 62.22 kB / 1.436 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.244, allocations: 1.54 MB / 1.438 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/1.244, allocations: 44.98 kB / 1.438 GB, free: 160.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005147/1.244, allocations: 0.6367 MB / 1.439 GB, free: 159.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/1.245, allocations: 137.3 kB / 1.439 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/1.245, allocations: 27.22 kB / 1.439 GB, free: 159.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.245, allocations: 355.3 kB / 1.439 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/1.245, allocations: 393.3 kB / 1.439 GB, free: 159.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/1.247, allocations: 1.038 MB / 1.44 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.248, allocations: 0.537 MB / 1.441 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/1.248, allocations: 7.25 kB / 1.441 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00347/1.251, allocations: 1.623 MB / 1.443 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/1.251, allocations: 18.23 kB / 1.443 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.584e-05/1.251, allocations: 25.14 kB / 1.443 GB, free: 158.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/1.252, allocations: 192.7 kB / 1.443 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009417/1.253, allocations: 281.2 kB / 1.443 GB, free: 158.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/1.257, allocations: 3.787 MB / 1.447 GB, free: 155.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.259, allocations: 294.6 kB / 1.447 GB, free: 155.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/1.259, allocations: 61.91 kB / 1.447 GB, free: 155.2 MB / 0.9011 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 () * Number of clocked 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.001079/1.261, allocations: 0.5104 MB / 1.448 GB, free: 155 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.261, allocations: 145.2 kB / 1.448 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/1.261, allocations: 144.4 kB / 1.448 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.261, allocations: 3.594 kB / 1.448 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/1.261, allocations: 6.469 kB / 1.448 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.261, allocations: 4.5 kB / 1.448 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/1.263, allocations: 1.153 MB / 1.449 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.263, allocations: 0 / 1.449 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/1.263, allocations: 73.5 kB / 1.449 GB, free: 154.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/1.263, allocations: 154.8 kB / 1.449 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/1.263, allocations: 15.98 kB / 1.449 GB, free: 154.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/1.266, allocations: 3.737 MB / 1.453 GB, free: 151.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.266, allocations: 0 / 1.453 GB, free: 151.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.267, allocations: 1.042 MB / 1.454 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008685/1.268, allocations: 0.9663 MB / 1.455 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.268, allocations: 15.48 kB / 1.455 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008563/1.269, allocations: 111.5 kB / 1.455 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/1.269, allocations: 29.61 kB / 1.455 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/1.269, allocations: 3.562 kB / 1.455 GB, free: 149.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001446/1.271, allocations: 1.15 MB / 1.456 GB, free: 149.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.271, allocations: 0 / 1.456 GB, free: 149.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001693/1.273, allocations: 0.5668 MB / 1.457 GB, free: 149 MB / 0.9011 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 () * Number of clocked 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.001653/1.274, allocations: 1.702 MB / 1.458 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001607/1.276, allocations: 1.122 MB / 1.459 GB, free: 147.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.276, allocations: 0 / 1.459 GB, free: 147.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/1.276, allocations: 0.5134 MB / 1.46 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.278, allocations: 360.4 kB / 1.46 GB, free: 146.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/1.286, allocations: 20.06 MB / 1.48 GB, free: 127.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/1.287, allocations: 1.394 MB / 1.481 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0009623/1.288, allocations: 301.5 kB / 1.482 GB, free: 126.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/1.289, allocations: 0.5163 MB / 1.482 GB, free: 125.9 MB / 0.9011 GB Notification: Performance of SimCode: time 9.198e-06/1.289, allocations: 0 / 1.482 GB, free: 125.9 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).