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.064/2.064, allocations: 251 MB / 265.9 MB, free: 11.7 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.001527/0.001527, allocations: 171.4 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.372/2.372, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001147/0.001147, allocations: 102.4 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004774, allocations: 12.5 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1975, allocations: 106.3 MB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2472/0.4448, allocations: 145.1 MB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4452, allocations: 87.95 kB / 1.041 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7922/1.237, allocations: 39.23 MB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.237, allocations: 4 kB / 1.079 GB, free: 144.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000181/1.238, allocations: 33.64 kB / 1.079 GB, free: 144.8 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.007769/1.245, allocations: 1.805 MB / 1.081 GB, free: 143.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.245, allocations: 9.594 kB / 1.081 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003138/1.246, allocations: 85.95 kB / 1.081 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008953/1.247, allocations: 169.4 kB / 1.081 GB, free: 143.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007985/1.255, allocations: 1.871 MB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/1.255, allocations: 54.97 kB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.255, allocations: 77.19 kB / 1.083 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/1.256, allocations: 0.517 MB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/1.257, allocations: 0.5312 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/1.257, allocations: 19.53 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/1.257, allocations: 10.75 kB / 1.083 GB, free: 142.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009892/1.258, allocations: 327.6 kB / 1.084 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006431/1.264, allocations: 3.234 MB / 1.087 GB, free: 140.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/1.266, allocations: 469 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/1.266, allocations: 0 / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/1.266, allocations: 36.56 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/1.266, allocations: 3.938 kB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003297/1.269, allocations: 1.045 MB / 1.088 GB, free: 139.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/1.269, allocations: 55.34 kB / 1.088 GB, free: 139.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/1.273, allocations: 1.545 MB / 1.09 GB, free: 139.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/1.273, allocations: 47.31 kB / 1.09 GB, free: 139.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00054/1.273, allocations: 0.5674 MB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/1.274, allocations: 105.8 kB / 1.091 GB, free: 138.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/1.274, allocations: 23.94 kB / 1.091 GB, free: 138.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.274, allocations: 349.2 kB / 1.091 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/1.274, allocations: 296.4 kB / 1.091 GB, free: 138.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/1.275, allocations: 0.905 MB / 1.092 GB, free: 137 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/1.276, allocations: 431.2 kB / 1.093 GB, free: 136.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/1.276, allocations: 3.156 kB / 1.093 GB, free: 136.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003219/1.28, allocations: 1.377 MB / 1.094 GB, free: 136.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/1.28, allocations: 13.31 kB / 1.094 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.882e-05/1.28, allocations: 23.25 kB / 1.094 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009181/1.281, allocations: 194.6 kB / 1.094 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/1.282, allocations: 237.5 kB / 1.094 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004788/1.287, allocations: 4.841 MB / 1.099 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/1.289, allocations: 176.9 kB / 1.099 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/1.289, allocations: 62.94 kB / 1.099 GB, free: 131.2 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.0009144/1.29, allocations: 482.4 kB / 1.1 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/1.29, allocations: 134.1 kB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000229/1.291, allocations: 127.4 kB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.291, allocations: 3 kB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.291, allocations: 3.344 kB / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.291, allocations: 0 / 1.1 GB, free: 130.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/1.292, allocations: 0.9462 MB / 1.101 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.292, allocations: 0 / 1.101 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/1.292, allocations: 34.09 kB / 1.101 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007589/1.293, allocations: 163.5 kB / 1.101 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/1.293, allocations: 11.08 kB / 1.101 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/1.298, allocations: 4.783 MB / 1.106 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.298, allocations: 3.594 kB / 1.106 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/1.3, allocations: 0.8388 MB / 1.107 GB, free: 124.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.301, allocations: 0.9445 MB / 1.108 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/1.301, allocations: 8 kB / 1.108 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.302, allocations: 55.83 kB / 1.108 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.302, allocations: 23.91 kB / 1.108 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.302, allocations: 15.94 kB / 1.108 GB, free: 123.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002281/1.305, allocations: 1.149 MB / 1.109 GB, free: 122.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.5e-07/1.305, allocations: 0 / 1.109 GB, free: 122.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001919/1.307, allocations: 415.6 kB / 1.109 GB, free: 121.8 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.002305/1.309, allocations: 1.487 MB / 1.111 GB, free: 120.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002263/1.311, allocations: 1.07 MB / 1.112 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.311, allocations: 0 / 1.112 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009901/1.312, allocations: 0.5477 MB / 1.112 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.315, allocations: 330.4 kB / 1.113 GB, free: 118.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/1.324, allocations: 18.65 MB / 1.131 GB, free: 99.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009962/1.326, allocations: 1.332 MB / 1.132 GB, free: 97.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001114/1.327, allocations: 237.6 kB / 1.132 GB, free: 97.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007529/1.327, allocations: 471.3 kB / 1.133 GB, free: 97.09 MB / 0.698 GB Notification: Performance of SimCode: time 1.242e-06/1.327, allocations: 0 / 1.133 GB, free: 97.09 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).