Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0116/0.0116, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.495/2.495, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003811/0.003811, allocations: 282.6 kB / 290.9 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.81/1.81, allocations: 169.2 MB / 0.4983 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003458/0.003459, allocations: 90.48 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3816, allocations: 86.98 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.00564/0.3873, allocations: 1.767 MB / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.391, allocations: 1.137 MB / 0.6829 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.3911, allocations: 0 / 0.6829 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.3922, allocations: 147.8 kB / 0.6831 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3925, allocations: 59.72 kB / 0.6831 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.3933, allocations: 119.7 kB / 0.6832 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004642/0.3938, allocations: 219.3 kB / 0.6834 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.3939, allocations: 11.94 kB / 0.6834 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.394, allocations: 27.81 kB / 0.6835 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.3942, allocations: 75.67 kB / 0.6835 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3942, allocations: 4 kB / 0.6836 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.395, allocations: 223.6 kB / 0.6838 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3951, allocations: 55.8 kB / 0.6838 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3952, allocations: 67.55 kB / 0.6839 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.3958, allocations: 215.5 kB / 0.6841 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3958, allocations: 0 / 0.6841 GB, free: 13.04 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3958, allocations: 0 / 0.6841 GB, free: 13.04 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3958, allocations: 0 / 0.6841 GB, free: 13.04 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.001084/0.3969, allocations: 498.2 kB / 0.6846 GB, free: 12.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.397, allocations: 12.03 kB / 0.6846 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.59e-05/0.3971, allocations: 28.66 kB / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3974, allocations: 215.7 kB / 0.6848 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3974, allocations: 384 / 0.6848 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3975, allocations: 384 / 0.6848 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.398, allocations: 85.78 kB / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.398, allocations: 3.984 kB / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.398, allocations: 0 / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3981, allocations: 0 / 0.6849 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003662/0.3984, allocations: 107.8 kB / 0.685 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.3994, allocations: 376.8 kB / 0.6854 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3997, allocations: 98.53 kB / 0.6854 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.3999, allocations: 48.89 kB / 0.6855 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.4, allocations: 27.98 kB / 0.6855 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.4, allocations: 30.56 kB / 0.6856 GB, free: 11.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.4001, allocations: 4 kB / 0.6856 GB, free: 11.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008229/0.4009, allocations: 193.2 kB / 0.6857 GB, free: 11.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.401, allocations: 51.41 kB / 0.6858 GB, free: 11.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.4015, allocations: 266.8 kB / 0.686 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.4016, allocations: 25.7 kB / 0.6861 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.4018, allocations: 136.1 kB / 0.6862 GB, free: 10.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4018, allocations: 7.906 kB / 0.6862 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.4019, allocations: 9.719 kB / 0.6862 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.4022, allocations: 338.8 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.4024, allocations: 47.97 kB / 0.6866 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.4025, allocations: 51.97 kB / 0.6866 GB, free: 10.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.4029, allocations: 104.7 kB / 0.6867 GB, free: 10.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4029, allocations: 0 / 0.6867 GB, free: 10.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003931/0.4033, allocations: 141.4 kB / 0.6869 GB, free: 9.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.4033, allocations: 5.875 kB / 0.6869 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4034, allocations: 4.094 kB / 0.6869 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.4034, allocations: 4 kB / 0.6869 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.4035, allocations: 7.984 kB / 0.6869 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.4036, allocations: 0 / 0.6869 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4037, allocations: 7.984 kB / 0.6869 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4037, allocations: 4 kB / 0.6869 GB, free: 9.938 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.0001969/0.4039, allocations: 135.1 kB / 0.687 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.404, allocations: 19.72 kB / 0.687 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.4045, allocations: 178.3 kB / 0.6872 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4046, allocations: 4 kB / 0.6872 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4046, allocations: 0 / 0.6872 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4046, allocations: 0 / 0.6872 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.405, allocations: 241.5 kB / 0.6875 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.405, allocations: 0 / 0.6875 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.4051, allocations: 16 kB / 0.6875 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4051, allocations: 0 / 0.6875 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4052, allocations: 4 kB / 0.6875 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.4052, allocations: 7.969 kB / 0.6875 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4052, allocations: 0 / 0.6875 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.4059, allocations: 247.2 kB / 0.6877 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.406, allocations: 92.83 kB / 0.6878 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.406, allocations: 7.938 kB / 0.6878 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4062, allocations: 7.984 kB / 0.6878 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.4063, allocations: 4 kB / 0.6878 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4063, allocations: 0 / 0.6878 GB, free: 8.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000283/0.4066, allocations: 193.9 kB / 0.688 GB, free: 8.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4066, allocations: 0 / 0.688 GB, free: 8.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006242/0.4072, allocations: 71.92 kB / 0.6881 GB, free: 8.633 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 (3): * Single equations (assignments): 3 * 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.0004649/0.4077, allocations: 171.1 kB / 0.6882 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.4082, allocations: 103.9 kB / 0.6883 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4082, allocations: 0 / 0.6883 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.4084, allocations: 59.97 kB / 0.6884 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.4092, allocations: 44.53 kB / 0.6884 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4104, allocations: 425.9 kB / 0.6888 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4111, allocations: 0.7316 MB / 0.6896 GB, free: 7.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.4111, allocations: 11.44 kB / 0.6896 GB, free: 7.035 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4111, allocations: 0 / 0.6896 GB, free: 7.035 MB / 494.1 MB Notification: Performance of Templates: time 0.007165/0.4183, allocations: 2.159 MB / 0.6917 GB, free: 4.898 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhiCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhiCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhiCalcHelperMain.o] Error 1