Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00774/0.00774, allocations: 101 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.001591/0.001591, allocations: 196 kB / 16.79 MB, free: 5.809 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.799/1.799, allocations: 205.1 MB / 222.7 MB, free: 4.719 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.807/1.807, allocations: 292.3 MB / 0.5491 GB, free: 13.62 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.001392/0.001392, allocations: 63.67 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.31, allocations: 114.5 MB / 0.7833 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.005006/0.3151, allocations: 3.02 MB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.3169, allocations: 0.9361 MB / 0.7872 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.3172, allocations: 8 kB / 0.7872 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3175, allocations: 51.52 kB / 0.7872 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.3177, allocations: 67.44 kB / 0.7873 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005411/0.3183, allocations: 199 kB / 0.7875 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.3187, allocations: 455.2 kB / 0.7879 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.3191, allocations: 205.5 kB / 0.7881 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.3193, allocations: 159.1 kB / 0.7883 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3195, allocations: 163 kB / 0.7884 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.3196, allocations: 20 kB / 0.7885 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.833e-05/0.3197, allocations: 20 kB / 0.7885 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.3197, allocations: 67.64 kB / 0.7885 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.3199, allocations: 178.9 kB / 0.7887 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.3202, allocations: 379.2 kB / 0.7891 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3203, allocations: 4 kB / 0.7891 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.42e-07/0.3203, allocations: 0 / 0.7891 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.3203, allocations: 0 / 0.7891 GB, free: 8.059 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001201/0.3215, allocations: 0.7128 MB / 0.7898 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3215, allocations: 8.031 kB / 0.7898 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.3216, allocations: 48.38 kB / 0.7898 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.3222, allocations: 392.4 kB / 0.7902 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3223, allocations: 25.03 kB / 0.7902 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.3223, allocations: 28.38 kB / 0.7902 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.3229, allocations: 341.4 kB / 0.7906 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3229, allocations: 0 / 0.7906 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.323, allocations: 16 kB / 0.7906 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.323, allocations: 8 kB / 0.7906 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.3235, allocations: 210.1 kB / 0.7908 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.3251, allocations: 1.182 MB / 0.792 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.3258, allocations: 242.7 kB / 0.7922 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.326, allocations: 116.8 kB / 0.7923 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.3261, allocations: 4 kB / 0.7923 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.3261, allocations: 30.94 kB / 0.7923 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.3261, allocations: 0 / 0.7923 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0007208/0.3268, allocations: 298.6 kB / 0.7926 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.3269, allocations: 110.8 kB / 0.7927 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.3273, allocations: 333.7 kB / 0.793 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3274, allocations: 33.7 kB / 0.7931 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3276, allocations: 228.1 kB / 0.7933 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.3277, allocations: 70.92 kB / 0.7934 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.973e-05/0.3278, allocations: 57.69 kB / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.328, allocations: 338.8 kB / 0.7937 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3282, allocations: 83.95 kB / 0.7938 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.3284, allocations: 147.5 kB / 0.794 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.3288, allocations: 209.9 kB / 0.7942 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.3289, allocations: 7.984 kB / 0.7942 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005347/0.3294, allocations: 276.9 kB / 0.7944 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.3294, allocations: 15.92 kB / 0.7944 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3295, allocations: 0 / 0.7944 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.3295, allocations: 7.938 kB / 0.7944 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3297, allocations: 43.98 kB / 0.7945 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.3298, allocations: 11.92 kB / 0.7945 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.33, allocations: 35.95 kB / 0.7945 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.33, allocations: 12 kB / 0.7945 GB, free: 2.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001914/0.3302, allocations: 161.7 kB / 0.7947 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.3303, allocations: 35.53 kB / 0.7947 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.3304, allocations: 39.36 kB / 0.7948 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3304, allocations: 0 / 0.7948 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3304, allocations: 0 / 0.7948 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3304, allocations: 7.984 kB / 0.7948 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.3309, allocations: 401.2 kB / 0.7952 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3309, allocations: 0 / 0.7952 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.3311, allocations: 39.98 kB / 0.7952 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3311, allocations: 0 / 0.7952 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.3312, allocations: 11.98 kB / 0.7952 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3312, allocations: 0 / 0.7952 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3312, allocations: 3.938 kB / 0.7952 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.3319, allocations: 430.7 kB / 0.7956 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.332, allocations: 124.6 kB / 0.7957 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3321, allocations: 11.98 kB / 0.7958 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3323, allocations: 11.98 kB / 0.7958 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.3324, allocations: 19.97 kB / 0.7958 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3324, allocations: 4 kB / 0.7958 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002476/0.3326, allocations: 239.2 kB / 0.796 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3326, allocations: 4.062 kB / 0.796 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003221/0.333, allocations: 67.84 kB / 0.7961 GB, free: 464 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001472/0.3331, allocations: 110.1 kB / 0.7962 GB, free: 348 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.3336, allocations: 201.4 kB / 0.7964 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3336, allocations: 384 / 0.7964 GB, free: 148 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.3338, allocations: 99.91 kB / 0.7965 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3345, allocations: 77.27 kB / 0.7966 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.336, allocations: 0.8725 MB / 0.7974 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.3364, allocations: 0.7875 MB / 0.7982 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3365, allocations: 35.42 kB / 0.7982 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3366, allocations: 0 / 0.7982 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.006971/0.3435, allocations: 4.205 MB / 0.8023 GB, free: 10.02 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresisCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o] Error 1