Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 100.1 kB / 15.88 MB, free: 12 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.002287/0.002287, allocations: 195.5 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.708/2.708, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003627/0.003627, allocations: 278.6 kB / 290.9 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.935/1.935, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003452/0.003453, allocations: 97.28 kB / 0.5951 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.371, allocations: 86.99 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.005502/0.3766, allocations: 1.764 MB / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.3791, allocations: 0.9966 MB / 0.6828 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.3792, allocations: 0 / 0.6828 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.3799, allocations: 148.5 kB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.3802, allocations: 47.8 kB / 0.683 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.3807, allocations: 88.42 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000378/0.3811, allocations: 219.9 kB / 0.6833 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.3812, allocations: 13.22 kB / 0.6833 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.3813, allocations: 31.8 kB / 0.6833 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.3814, allocations: 67.69 kB / 0.6834 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3815, allocations: 0.7812 kB / 0.6834 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004269/0.3819, allocations: 147.7 kB / 0.6835 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3821, allocations: 59.84 kB / 0.6836 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.3822, allocations: 63.56 kB / 0.6836 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.3826, allocations: 159.7 kB / 0.6838 GB, free: 13.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.3826, allocations: 7.938 kB / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3826, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3826, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009534/0.3836, allocations: 486.3 kB / 0.6842 GB, free: 12.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.3837, allocations: 8.031 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.3837, allocations: 20.66 kB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.384, allocations: 219.7 kB / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.3841, allocations: 4.375 kB / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3841, allocations: 384 / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.3844, allocations: 65.8 kB / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3845, allocations: 0 / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3845, allocations: 0 / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3845, allocations: 0 / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.3848, allocations: 67.88 kB / 0.6846 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007604/0.3856, allocations: 340.8 kB / 0.6849 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3859, allocations: 58.55 kB / 0.685 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.386, allocations: 36.89 kB / 0.685 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/0.3861, allocations: 15.98 kB / 0.685 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3861, allocations: 34.56 kB / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3862, allocations: 0 / 0.6851 GB, free: 11.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006321/0.3868, allocations: 137.3 kB / 0.6852 GB, free: 11.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.3869, allocations: 51.41 kB / 0.6853 GB, free: 11.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.3873, allocations: 258.8 kB / 0.6855 GB, free: 11.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3873, allocations: 33.7 kB / 0.6855 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3875, allocations: 136.1 kB / 0.6857 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3875, allocations: 3.906 kB / 0.6857 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3876, allocations: 13.72 kB / 0.6857 GB, free: 11.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.3878, allocations: 338.8 kB / 0.686 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3879, allocations: 23.98 kB / 0.686 GB, free: 10.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3881, allocations: 35.97 kB / 0.6861 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3884, allocations: 64.75 kB / 0.6861 GB, free: 10.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3884, allocations: 0 / 0.6861 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004014/0.3888, allocations: 109.5 kB / 0.6862 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3889, allocations: 14.06 kB / 0.6862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3889, allocations: 0 / 0.6862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3889, allocations: 4.094 kB / 0.6862 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.3891, allocations: 8 kB / 0.6863 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.3891, allocations: 3.984 kB / 0.6863 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3892, allocations: 4 kB / 0.6863 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3892, allocations: 0 / 0.6863 GB, free: 10.62 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.3894, allocations: 139.1 kB / 0.6864 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.3895, allocations: 23.72 kB / 0.6864 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.39, allocations: 122.4 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.39, allocations: 0 / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.39, allocations: 0 / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3901, allocations: 0 / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.3914, allocations: 221.5 kB / 0.6867 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.3915, allocations: 4 kB / 0.6868 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3916, allocations: 7.984 kB / 0.6868 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3916, allocations: 0 / 0.6868 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3916, allocations: 0 / 0.6868 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3916, allocations: 8.031 kB / 0.6868 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3917, allocations: 0 / 0.6868 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009937/0.3927, allocations: 207.2 kB / 0.687 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3928, allocations: 92.83 kB / 0.6871 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.3928, allocations: 0 / 0.6871 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.393, allocations: 7.984 kB / 0.6871 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3932, allocations: 8.031 kB / 0.6871 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3932, allocations: 4 kB / 0.6871 GB, free: 9.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007616/0.394, allocations: 189.9 kB / 0.6873 GB, free: 9.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.394, allocations: 4 kB / 0.6873 GB, free: 9.508 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3951, allocations: 51.94 kB / 0.6873 GB, free: 9.457 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000427/0.3955, allocations: 143.2 kB / 0.6874 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.396, allocations: 63.95 kB / 0.6875 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.396, allocations: 0 / 0.6875 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.3962, allocations: 31.92 kB / 0.6875 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.3971, allocations: 55.78 kB / 0.6876 GB, free: 9.164 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3984, allocations: 401.9 kB / 0.688 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.3991, allocations: 0.7277 MB / 0.6887 GB, free: 7.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3992, allocations: 11.44 kB / 0.6887 GB, free: 7.973 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3992, allocations: 0 / 0.6887 GB, free: 7.973 MB / 494.1 MB Notification: Performance of Templates: time 0.006786/0.406, allocations: 1.96 MB / 0.6906 GB, free: 6.031 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhiCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhiCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhiCalcHelperMain.o] Error 1