Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009833/0.0009832, allocations: 99.2 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 180.8 kB / 16.58 MB, free: 6.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 8 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8382/0.8386, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003744/0.8424, allocations: 3.234 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004004/0.8464, allocations: 2.384 MB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.8468, allocations: 11.94 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005564/0.8473, allocations: 202.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0008388/0.8482, allocations: 446 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.8493, allocations: 434 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.8509, allocations: 1.312 MB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.8511, allocations: 119.5 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.8516, allocations: 378.6 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006005/0.8522, allocations: 0.5022 MB / 1.03 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.8523, allocations: 32 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.8524, allocations: 36 kB / 1.031 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.8527, allocations: 315.1 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.8529, allocations: 185.2 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006379/0.8535, allocations: 0.6973 MB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.8535, allocations: 0 / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8536, allocations: 0 / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.8536, allocations: 0 / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001953/0.8555, allocations: 1.144 MB / 1.033 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.8556, allocations: 12.03 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.8557, allocations: 98.88 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.8567, allocations: 0.624 MB / 1.034 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.8567, allocations: 44.66 kB / 1.034 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.8568, allocations: 55.91 kB / 1.034 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.8575, allocations: 414.9 kB / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8575, allocations: 0 / 1.034 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.8575, allocations: 16 kB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.8575, allocations: 8 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.8579, allocations: 238.4 kB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.8611, allocations: 2.521 MB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.8626, allocations: 0.5504 MB / 1.037 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.8629, allocations: 164.8 kB / 1.037 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.8629, allocations: 4 kB / 1.037 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8629, allocations: 38.55 kB / 1.037 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 3.927e-06/0.8629, allocations: 0 / 1.037 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001785/0.8647, allocations: 0.8939 MB / 1.038 GB, free: 15.62 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.8648, allocations: 55.41 kB / 1.038 GB, free: 15.56 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.8662, allocations: 0.9231 MB / 1.039 GB, free: 14.63 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.8663, allocations: 37.7 kB / 1.039 GB, free: 14.59 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.8666, allocations: 364.8 kB / 1.04 GB, free: 14.22 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.8668, allocations: 118.3 kB / 1.04 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.8668, allocations: 16 kB / 1.04 GB, free: 14.09 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002609/0.8671, allocations: 398.7 kB / 1.04 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.8676, allocations: 237.8 kB / 1.04 GB, free: 13.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.8685, allocations: 0.6427 MB / 1.041 GB, free: 12.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.869, allocations: 343.4 kB / 1.041 GB, free: 12.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.8691, allocations: 8 kB / 1.041 GB, free: 12.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001655/0.8707, allocations: 1.011 MB / 1.042 GB, free: 11.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.8708, allocations: 12 kB / 1.042 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.8708, allocations: 12 kB / 1.042 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004424/0.8713, allocations: 122.7 kB / 1.043 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.8719, allocations: 195.6 kB / 1.043 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/0.8758, allocations: 4.154 MB / 1.047 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.8767, allocations: 114.9 kB / 1.047 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.8768, allocations: 52 kB / 1.047 GB, free: 6.191 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003857/0.8772, allocations: 265.4 kB / 1.047 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.8773, allocations: 78.97 kB / 1.047 GB, free: 5.844 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.8774, allocations: 84.52 kB / 1.047 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.8774, allocations: 4 kB / 1.047 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.8774, allocations: 0 / 1.047 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8775, allocations: 0 / 1.047 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.8783, allocations: 0.6648 MB / 1.048 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8783, allocations: 0 / 1.048 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.8786, allocations: 63.89 kB / 1.048 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.8789, allocations: 102.5 kB / 1.048 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.8789, allocations: 8 kB / 1.048 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.8823, allocations: 4.134 MB / 1.052 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8823, allocations: 11.86 kB / 1.052 GB, free: 324 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.8835, allocations: 0.7376 MB / 1.053 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.8838, allocations: 207.9 kB / 1.053 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.549e-05/0.8839, allocations: 8 kB / 1.053 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.8843, allocations: 27.97 kB / 1.053 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.8844, allocations: 23.97 kB / 1.053 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.8844, allocations: 4 kB / 1.053 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009052/0.8853, allocations: 0.6239 MB / 1.054 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8853, allocations: 0 / 1.054 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009824/0.8863, allocations: 271.8 kB / 1.054 GB, free: 14.38 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.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 (23): * Single equations (assignments): 20 * 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%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.8865, allocations: 107.2 kB / 1.054 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.8879, allocations: 0.9283 MB / 1.055 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8879, allocations: 0 / 1.055 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.8886, allocations: 0.5233 MB / 1.056 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.8894, allocations: 167.6 kB / 1.056 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.8923, allocations: 2.118 MB / 1.058 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.893, allocations: 0.9839 MB / 1.059 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.8932, allocations: 51.44 kB / 1.059 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.8932, allocations: 0 / 1.059 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of Templates: time 0.02543/0.9187, allocations: 17.49 MB / 1.076 GB, free: 7.902 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.o OMCppBuildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2CalcHelperMain.o] Error 1