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.0009248/0.000925, allocations: 102.6 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.001002/0.001002, allocations: 175.1 kB / 16.58 MB, free: 6.359 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.698/1.698, allocations: 205.4 MB / 222.8 MB, free: 5.879 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.935/1.935, allocations: 292.7 MB / 0.5505 GB, free: 14.54 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.0005311/0.0005312, allocations: 22.59 kB / 0.6744 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2586, allocations: 116.3 MB / 0.7879 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.00105/0.2597, allocations: 0.5335 MB / 0.7885 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2609, allocations: 1.001 MB / 0.7894 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.261, allocations: 4 kB / 0.7894 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.542e-05/0.2611, allocations: 3.938 kB / 0.7895 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.45e-05/0.2611, allocations: 15.86 kB / 0.7895 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2614, allocations: 67.86 kB / 0.7895 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2616, allocations: 103.7 kB / 0.7896 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.2617, allocations: 37.38 kB / 0.7897 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.2618, allocations: 39.84 kB / 0.7897 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.2619, allocations: 47.77 kB / 0.7897 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2619, allocations: 4 kB / 0.7898 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.262, allocations: 47.95 kB / 0.7898 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2621, allocations: 31.84 kB / 0.7898 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.739e-05/0.2621, allocations: 45.64 kB / 0.7899 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.2623, allocations: 131.9 kB / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2623, allocations: 0 / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2623, allocations: 0 / 0.79 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2623, allocations: 0 / 0.79 GB, free: 9.793 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.0007942/0.2631, allocations: 482.8 kB / 0.7905 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2632, allocations: 8.031 kB / 0.7905 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.2632, allocations: 19.81 kB / 0.7905 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.2634, allocations: 210.7 kB / 0.7907 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2634, allocations: 3.984 kB / 0.7907 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.2635, allocations: 12 kB / 0.7907 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.264, allocations: 204.4 kB / 0.7909 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.264, allocations: 3.984 kB / 0.7909 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.264, allocations: 4 kB / 0.7909 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.2641, allocations: 19.92 kB / 0.7909 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.2647, allocations: 255.8 kB / 0.7912 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000871/0.2656, allocations: 488.3 kB / 0.7916 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.266, allocations: 170.4 kB / 0.7918 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.2664, allocations: 156.8 kB / 0.7919 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2664, allocations: 8 kB / 0.792 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2665, allocations: 30.56 kB / 0.792 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.2665, allocations: 0 / 0.792 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.001195/0.2677, allocations: 485.2 kB / 0.7924 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.2677, allocations: 51.41 kB / 0.7925 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2679, allocations: 148.7 kB / 0.7926 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2679, allocations: 25.7 kB / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.2679, allocations: 104.4 kB / 0.7928 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.268, allocations: 55.14 kB / 0.7928 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.268, allocations: 4.062 kB / 0.7928 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2682, allocations: 326.8 kB / 0.7931 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2685, allocations: 139.9 kB / 0.7933 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.2689, allocations: 139.9 kB / 0.7934 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2692, allocations: 150.8 kB / 0.7935 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2692, allocations: 0 / 0.7935 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007434/0.27, allocations: 325.3 kB / 0.7938 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.27, allocations: 8 kB / 0.7939 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.27, allocations: 0 / 0.7939 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.27, allocations: 3.953 kB / 0.7939 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2703, allocations: 47.95 kB / 0.7939 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2703, allocations: 4 kB / 0.7939 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2705, allocations: 51.86 kB / 0.794 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2705, allocations: 7.938 kB / 0.794 GB, free: 5.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.2706, allocations: 121.8 kB / 0.7941 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2706, allocations: 7.906 kB / 0.7941 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.2707, allocations: 20.78 kB / 0.7941 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.2707, allocations: 7.984 kB / 0.7941 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.2707, allocations: 7.953 kB / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2707, allocations: 0 / 0.7941 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.271, allocations: 233.4 kB / 0.7943 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.271, allocations: 0 / 0.7943 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.2712, allocations: 47.95 kB / 0.7944 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2712, allocations: 4 kB / 0.7944 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2713, allocations: 0 / 0.7944 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2713, allocations: 0 / 0.7944 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2713, allocations: 4 kB / 0.7944 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.2721, allocations: 435.1 kB / 0.7948 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.2722, allocations: 96.8 kB / 0.7949 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2722, allocations: 0 / 0.7949 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2724, allocations: 47.95 kB / 0.795 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2725, allocations: 15.97 kB / 0.795 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2725, allocations: 0 / 0.795 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.555e-05/0.2726, allocations: 117.8 kB / 0.7951 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2726, allocations: 4 kB / 0.7951 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002897/0.2729, allocations: 36 kB / 0.7951 GB, free: 4.234 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 (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.0002287/0.2731, allocations: 119.2 kB / 0.7952 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007714/0.2739, allocations: 307.7 kB / 0.7955 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2739, allocations: 0 / 0.7955 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.2743, allocations: 159.9 kB / 0.7957 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.2746, allocations: 18.95 kB / 0.7957 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.2753, allocations: 404.1 kB / 0.7961 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2756, allocations: 0.724 MB / 0.7968 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.2757, allocations: 15.44 kB / 0.7968 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2757, allocations: 0 / 0.7968 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of Templates: time 0.003849/0.2795, allocations: 1.871 MB / 0.7986 GB, free: 0.5859 MB / 0.6075 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++ 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_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