Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008732/0.0008733, allocations: 103 kB / 15.71 MB, free: 460 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.0009506/0.0009508, allocations: 175.7 kB / 16.58 MB, free: 6.402 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.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 436.7 MB / 0.7113 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 8 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.849, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002159/0.8512, allocations: 1.9 MB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.8524, allocations: 0.8519 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.8524, allocations: 3.938 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.8529, allocations: 179 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.853, allocations: 55.62 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.8533, allocations: 83.83 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.8535, allocations: 191.1 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.8537, allocations: 73.56 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.8538, allocations: 75.59 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.8539, allocations: 87.5 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.8539, allocations: 12 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.8542, allocations: 139.8 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.8544, allocations: 195.5 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.536e-05/0.8545, allocations: 117.3 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.855, allocations: 0.5512 MB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.855, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.855, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.855, allocations: 0 / 1.026 GB, free: 12.57 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009983/0.856, allocations: 0.8895 MB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.856, allocations: 11.98 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004968/0.8565, allocations: 118.9 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.8573, allocations: 0.5539 MB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.8573, allocations: 8 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.8573, allocations: 15.95 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.8577, allocations: 193.6 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8577, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.8577, allocations: 8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8577, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.8582, allocations: 235.8 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.8592, allocations: 0.9177 MB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.8598, allocations: 310.4 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.86, allocations: 109 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008864/0.8609, allocations: 404.7 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.8609, allocations: 34.56 kB / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.861, allocations: 0 / 1.03 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0007159/0.8617, allocations: 408.5 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.8617, allocations: 55.34 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.8628, allocations: 0.9896 MB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.8628, allocations: 26.08 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.8631, allocations: 348 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.8632, allocations: 27.55 kB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.8632, allocations: 4 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.8633, allocations: 313.9 kB / 1.032 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.8635, allocations: 99.94 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.8637, allocations: 114.5 kB / 1.032 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.8639, allocations: 103.9 kB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8639, allocations: 0 / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004877/0.8644, allocations: 320.5 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8644, allocations: 9.719 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8644, allocations: 0 / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.8644, allocations: 0 / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.8646, allocations: 23.98 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.8646, allocations: 0 / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.8648, allocations: 20.05 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.8648, allocations: 7.938 kB / 1.033 GB, free: 5.707 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002584/0.8651, allocations: 253.6 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.8651, allocations: 71.06 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005773/0.8657, allocations: 332.3 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8657, allocations: 0 / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8657, allocations: 4 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8658, allocations: 0 / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.8663, allocations: 0.5363 MB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8663, allocations: 0 / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.8664, allocations: 19.98 kB / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.8664, allocations: 0 / 1.034 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.8665, allocations: 4 kB / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8665, allocations: 192 / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8665, allocations: 7.984 kB / 1.034 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000506/0.867, allocations: 402.4 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.8672, allocations: 184.1 kB / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.8672, allocations: 0 / 1.034 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.8674, allocations: 11.98 kB / 1.034 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.8674, allocations: 7.984 kB / 1.034 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.8675, allocations: 8 kB / 1.034 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000806/0.8683, allocations: 0.7059 MB / 1.035 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8683, allocations: 0 / 1.035 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003428/0.8686, allocations: 75.83 kB / 1.035 GB, free: 3.016 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001832/0.8688, allocations: 115.2 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.8693, allocations: 215.8 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8693, allocations: 0 / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.8695, allocations: 104 kB / 1.036 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.8699, allocations: 55.42 kB / 1.036 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8715, allocations: 1.339 MB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.8721, allocations: 0.9482 MB / 1.038 GB, free: 184 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.8722, allocations: 39.89 kB / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.8722, allocations: 0 / 1.038 GB, free: 144 kB / 0.7794 GB Notification: Performance of Templates: time 0.01089/0.8831, allocations: 7.255 MB / 1.045 GB, free: 8.895 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormalCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormalCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormalCalcHelperMain.o] Error 1