Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000971/0.0009714, allocations: 98.88 kB / 16.02 MB, free: 76 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.001563/0.001563, allocations: 182.9 kB / 16.92 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 223.1 MB, free: 5.445 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005542/0.0005539, allocations: 20.75 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3204, allocations: 116.3 MB / 0.7886 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001087/0.3215, allocations: 0.5488 MB / 0.7891 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3229, allocations: 1.02 MB / 0.7901 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.323, allocations: 0 / 0.7901 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.3231, allocations: 3.938 kB / 0.7901 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.162e-05/0.3231, allocations: 19.86 kB / 0.7901 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3234, allocations: 67.86 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3235, allocations: 115.6 kB / 0.7903 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3237, allocations: 41.39 kB / 0.7903 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.705e-05/0.3238, allocations: 39.84 kB / 0.7904 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.533e-05/0.3238, allocations: 55.73 kB / 0.7904 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3239, allocations: 8 kB / 0.7904 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.324, allocations: 51.91 kB / 0.7905 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.324, allocations: 31.91 kB / 0.7905 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.3241, allocations: 73.31 kB / 0.7906 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3243, allocations: 131.9 kB / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3243, allocations: 0 / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3243, allocations: 0 / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3243, allocations: 0 / 0.7907 GB, free: 9.32 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009093/0.3252, allocations: 487 kB / 0.7912 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3253, allocations: 12.03 kB / 0.7912 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.3253, allocations: 16.75 kB / 0.7912 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3256, allocations: 208 kB / 0.7914 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3256, allocations: 8.375 kB / 0.7914 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3256, allocations: 8.312 kB / 0.7914 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.3262, allocations: 210.8 kB / 0.7916 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3262, allocations: 192 / 0.7916 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3262, allocations: 7.938 kB / 0.7916 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.3263, allocations: 15.98 kB / 0.7916 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.3271, allocations: 255.8 kB / 0.7919 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.3281, allocations: 492.3 kB / 0.7923 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.3285, allocations: 166.4 kB / 0.7925 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.329, allocations: 152.8 kB / 0.7926 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.329, allocations: 4 kB / 0.7927 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.329, allocations: 46.5 kB / 0.7927 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.3291, allocations: 0 / 0.7927 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001346/0.3304, allocations: 476.4 kB / 0.7932 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.3305, allocations: 59.34 kB / 0.7932 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.3306, allocations: 148.6 kB / 0.7933 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3307, allocations: 25.7 kB / 0.7934 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.3307, allocations: 108.4 kB / 0.7935 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3308, allocations: 51.36 kB / 0.7935 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3308, allocations: 17.7 kB / 0.7935 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.331, allocations: 326.8 kB / 0.7939 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.3314, allocations: 139.9 kB / 0.794 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.3318, allocations: 139.9 kB / 0.7941 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.3327, allocations: 292.6 kB / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3327, allocations: 0 / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000847/0.3335, allocations: 337.2 kB / 0.7947 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3336, allocations: 6.656 kB / 0.7947 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3336, allocations: 4.172 kB / 0.7947 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3336, allocations: 0 / 0.7947 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.3339, allocations: 51.95 kB / 0.7948 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3339, allocations: 7.969 kB / 0.7948 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.3341, allocations: 51.81 kB / 0.7948 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.3341, allocations: 7.984 kB / 0.7948 GB, free: 4.848 MB / 0.6075 GB 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001066/0.3342, allocations: 121.1 kB / 0.795 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3343, allocations: 7.906 kB / 0.795 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.3343, allocations: 20.83 kB / 0.795 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.3343, allocations: 8 kB / 0.795 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3343, allocations: 3.938 kB / 0.795 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3344, allocations: 7.922 kB / 0.795 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.3347, allocations: 233.4 kB / 0.7952 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3347, allocations: 0 / 0.7952 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.3349, allocations: 51.94 kB / 0.7953 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3349, allocations: 0 / 0.7953 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3349, allocations: 4 kB / 0.7953 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3349, allocations: 0 / 0.7953 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3349, allocations: 0 / 0.7953 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009087/0.3358, allocations: 434.3 kB / 0.7957 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.3359, allocations: 96.86 kB / 0.7958 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3359, allocations: 4 kB / 0.7958 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3362, allocations: 43.94 kB / 0.7958 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.3362, allocations: 15.92 kB / 0.7959 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3362, allocations: 4 kB / 0.7959 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.997e-05/0.3363, allocations: 113.9 kB / 0.796 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3363, allocations: 3.938 kB / 0.796 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002882/0.3366, allocations: 40 kB / 0.796 GB, free: 3.57 MB / 0.6075 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0002531/0.3369, allocations: 119.2 kB / 0.7961 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009198/0.3378, allocations: 315.7 kB / 0.7964 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3378, allocations: 0 / 0.7964 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.3383, allocations: 159.9 kB / 0.7966 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3387, allocations: 15.98 kB / 0.7966 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.3393, allocations: 407.6 kB / 0.797 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3397, allocations: 0.7239 MB / 0.7977 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3397, allocations: 15.38 kB / 0.7977 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3397, allocations: 0 / 0.7977 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.003814/0.3435, allocations: 1.861 MB / 0.7995 GB, free: 15.93 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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 OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SortCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SortCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.SortCalcHelperMain.o] Error 1