Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorStepResponse.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorStepResponse,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.274/2.274, allocations: 248.5 MB / 261.1 MB, free: 5.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 172.8 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001111/0.001111, allocations: 101.8 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.45e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2009, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/1.058, allocations: 145 MB / 1.032 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/1.059, allocations: 74.78 kB / 1.032 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2106/1.269, allocations: 39.28 MB / 1.071 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.816e-06/1.269, allocations: 0 / 1.071 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002228/1.27, allocations: 31.94 kB / 1.071 GB, free: 4.473 MB / 0.6823 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.00378/1.273, allocations: 1.267 MB / 1.072 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.274, allocations: 8.031 kB / 1.072 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/1.274, allocations: 89.08 kB / 1.072 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/1.275, allocations: 170.2 kB / 1.072 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/1.282, allocations: 1.824 MB / 1.074 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/1.282, allocations: 58.81 kB / 1.074 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/1.282, allocations: 81.8 kB / 1.074 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/1.283, allocations: 0.4994 MB / 1.075 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.284, allocations: 7.938 kB / 1.075 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.917e-05/1.284, allocations: 19.94 kB / 1.075 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/1.284, allocations: 12 kB / 1.075 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/1.284, allocations: 310.7 kB / 1.075 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007382/1.292, allocations: 3.231 MB / 1.078 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/1.294, allocations: 447.9 kB / 1.079 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/1.294, allocations: 162.6 kB / 1.079 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/1.294, allocations: 5.406 kB / 1.079 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.294, allocations: 41.38 kB / 1.079 GB, free: 13.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 3.267e-06/1.294, allocations: 0 / 1.079 GB, free: 13.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.001911/1.296, allocations: 0.5407 MB / 1.079 GB, free: 12.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.296, allocations: 59.36 kB / 1.079 GB, free: 12.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/1.3, allocations: 1.522 MB / 1.081 GB, free: 11.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/1.3, allocations: 50.08 kB / 1.081 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/1.301, allocations: 0.5788 MB / 1.081 GB, free: 11.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/1.301, allocations: 108 kB / 1.082 GB, free: 11.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/1.301, allocations: 21.88 kB / 1.082 GB, free: 11.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001736/1.302, allocations: 343.6 kB / 1.082 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/1.302, allocations: 286.5 kB / 1.082 GB, free: 10.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.304, allocations: 0.8933 MB / 1.083 GB, free: 9.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/1.305, allocations: 424.3 kB / 1.083 GB, free: 9.293 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.305, allocations: 8 kB / 1.083 GB, free: 9.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003821/1.309, allocations: 1.343 MB / 1.085 GB, free: 8.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/1.309, allocations: 19.95 kB / 1.085 GB, free: 8.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/1.309, allocations: 20 kB / 1.085 GB, free: 8.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/1.31, allocations: 204.4 kB / 1.085 GB, free: 7.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.311, allocations: 229 kB / 1.085 GB, free: 7.723 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/1.317, allocations: 4.768 MB / 1.09 GB, free: 2.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/1.32, allocations: 179.9 kB / 1.09 GB, free: 2.793 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.32, allocations: 62.56 kB / 1.09 GB, free: 2.742 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 () * 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.0002383/1.32, allocations: 179.8 kB / 1.09 GB, free: 2.582 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/1.321, allocations: 134.2 kB / 1.09 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004024/1.321, allocations: 127 kB / 1.091 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.321, allocations: 0 / 1.091 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.321, allocations: 4 kB / 1.091 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/1.321, allocations: 3.984 kB / 1.091 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.323, allocations: 0.9457 MB / 1.091 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.323, allocations: 3.953 kB / 1.091 GB, free: 1.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/1.324, allocations: 31.98 kB / 1.091 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009041/1.325, allocations: 170.6 kB / 1.092 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/1.325, allocations: 6.688 kB / 1.092 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005951/1.331, allocations: 4.711 MB / 1.096 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.331, allocations: 0 / 1.096 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/1.333, allocations: 0.8237 MB / 1.097 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/1.334, allocations: 0.937 MB / 1.098 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/1.335, allocations: 11.98 kB / 1.098 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.336, allocations: 59.75 kB / 1.098 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.336, allocations: 23.92 kB / 1.098 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.336, allocations: 8 kB / 1.098 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002668/1.339, allocations: 1.136 MB / 1.099 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.31e-07/1.339, allocations: 4 kB / 1.099 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002304/1.341, allocations: 415.7 kB / 1.1 GB, free: 8.879 MB / 0.7136 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 () * 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.002883/1.344, allocations: 1.473 MB / 1.101 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002608/1.347, allocations: 1.035 MB / 1.102 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.347, allocations: 384 / 1.102 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.348, allocations: 0.5425 MB / 1.103 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.351, allocations: 318.5 kB / 1.103 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006814/1.357, allocations: 2.133 MB / 1.105 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/1.359, allocations: 1.32 MB / 1.106 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001252/1.36, allocations: 237.6 kB / 1.106 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.361, allocations: 471.3 kB / 1.107 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of SimCode: time 1.303e-06/1.361, allocations: 3.938 kB / 1.107 GB, free: 1.164 MB / 0.7136 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).