Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorStepResponse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 177.3 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 90.44 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 9.125 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.217, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.3956, allocations: 145.3 MB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.396, allocations: 83.97 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5287/0.9247, allocations: 39.24 MB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9248, allocations: 5.281 kB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001143/0.9249, allocations: 27.94 kB / 1.08 GB, free: 143 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.004443/0.9293, allocations: 1.802 MB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9294, allocations: 8.5 kB / 1.082 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001331/0.9295, allocations: 84 kB / 1.082 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.9301, allocations: 168.6 kB / 1.082 GB, free: 141.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005414/0.9355, allocations: 1.866 MB / 1.084 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.9356, allocations: 55.94 kB / 1.084 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.9357, allocations: 75.22 kB / 1.084 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.9366, allocations: 0.5213 MB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.9366, allocations: 3.625 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.9367, allocations: 17.16 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.9367, allocations: 13.44 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.9372, allocations: 336.7 kB / 1.085 GB, free: 140.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.9406, allocations: 3.234 MB / 1.088 GB, free: 138.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.9415, allocations: 450.3 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.9415, allocations: 3.938 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.9415, allocations: 37.45 kB / 1.089 GB, free: 138.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.9416, allocations: 4 kB / 1.089 GB, free: 138.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001702/0.9433, allocations: 1.042 MB / 1.09 GB, free: 137.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.9433, allocations: 53.62 kB / 1.09 GB, free: 137.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.9451, allocations: 1.54 MB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.9451, allocations: 46.7 kB / 1.091 GB, free: 137.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.9455, allocations: 0.584 MB / 1.092 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.9456, allocations: 106.5 kB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.9457, allocations: 22.84 kB / 1.092 GB, free: 136.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.9457, allocations: 354.6 kB / 1.093 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.9461, allocations: 295.2 kB / 1.093 GB, free: 136.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.9467, allocations: 0.9011 MB / 1.094 GB, free: 135.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.9472, allocations: 430.8 kB / 1.094 GB, free: 135.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.9472, allocations: 10.19 kB / 1.094 GB, free: 135.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001735/0.9489, allocations: 1.37 MB / 1.095 GB, free: 134.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.949, allocations: 13.5 kB / 1.095 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.949, allocations: 26.03 kB / 1.095 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005317/0.9495, allocations: 196.7 kB / 1.096 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.9501, allocations: 230.3 kB / 1.096 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.953, allocations: 4.844 MB / 1.101 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.9544, allocations: 175.5 kB / 1.101 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/0.9544, allocations: 60.16 kB / 1.101 GB, free: 129.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (118): * Single equations (assignments): 115 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006036/0.9551, allocations: 481.4 kB / 1.101 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.9552, allocations: 130.2 kB / 1.101 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.9554, allocations: 128.9 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9554, allocations: 3.969 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.9554, allocations: 3.984 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9554, allocations: 7.922 kB / 1.102 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008961/0.9563, allocations: 0.9354 MB / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9563, allocations: 0 / 1.102 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.9565, allocations: 39.91 kB / 1.103 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.957, allocations: 162.4 kB / 1.103 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.957, allocations: 8 kB / 1.103 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002777/0.9598, allocations: 4.787 MB / 1.107 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9598, allocations: 0 / 1.107 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.9609, allocations: 0.844 MB / 1.108 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/0.9616, allocations: 0.9484 MB / 1.109 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.9618, allocations: 4 kB / 1.109 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.9625, allocations: 59.84 kB / 1.109 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.9625, allocations: 19.97 kB / 1.109 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.9626, allocations: 8 kB / 1.109 GB, free: 120.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001371/0.9639, allocations: 1.149 MB / 1.11 GB, free: 119.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/0.964, allocations: 4 kB / 1.11 GB, free: 119.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00123/0.9652, allocations: 415.6 kB / 1.111 GB, free: 119.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMul.lay[2].T[1],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 (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.9665, allocations: 1.489 MB / 1.112 GB, free: 117.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.9678, allocations: 1.062 MB / 1.113 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9679, allocations: 0 / 1.113 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.9684, allocations: 0.5518 MB / 1.114 GB, free: 116 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.9697, allocations: 333.7 kB / 1.114 GB, free: 115.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.9761, allocations: 18.66 MB / 1.132 GB, free: 96.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/0.9768, allocations: 1.32 MB / 1.134 GB, free: 95.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006715/0.9775, allocations: 241.5 kB / 1.134 GB, free: 94.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.9779, allocations: 467.3 kB / 1.134 GB, free: 94.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/0.9779, allocations: 0 / 1.134 GB, free: 94.46 MB / 0.698 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).