Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0009114, allocations: 99.59 kB / 15.71 MB, free: 452 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.00106/0.00106, allocations: 176.1 kB / 16.58 MB, free: 6.422 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.807/1.807, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.84/1.84, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005856/0.000586, allocations: 20.16 kB / 0.6743 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3287, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003686/0.3324, allocations: 2.675 MB / 0.7905 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.3345, allocations: 0.9402 MB / 0.7914 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.3348, allocations: 15.94 kB / 0.7915 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.335, allocations: 43.52 kB / 0.7915 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.3353, allocations: 67.42 kB / 0.7916 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.3358, allocations: 170.8 kB / 0.7917 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.3364, allocations: 487.8 kB / 0.7922 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.3368, allocations: 175.7 kB / 0.7924 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.337, allocations: 143.2 kB / 0.7925 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.3373, allocations: 147.1 kB / 0.7926 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.3374, allocations: 12 kB / 0.7926 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.3374, allocations: 16 kB / 0.7927 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.3375, allocations: 63.62 kB / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3377, allocations: 105.4 kB / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.3381, allocations: 423.2 kB / 0.7932 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3382, allocations: 8 kB / 0.7932 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3382, allocations: 0 / 0.7932 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3382, allocations: 0 / 0.7932 GB, free: 6.473 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001325/0.3395, allocations: 0.6842 MB / 0.7939 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.3396, allocations: 8.031 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3397, allocations: 59.33 kB / 0.794 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.3405, allocations: 403.5 kB / 0.7943 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.3406, allocations: 29 kB / 0.7944 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.616e-05/0.3406, allocations: 40 kB / 0.7944 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.3414, allocations: 393.6 kB / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.3414, allocations: 0 / 0.7948 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.3415, allocations: 19.94 kB / 0.7948 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.3415, allocations: 12 kB / 0.7948 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.342, allocations: 259.9 kB / 0.7951 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.3439, allocations: 1.336 MB / 0.7964 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.3447, allocations: 314.6 kB / 0.7967 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.3449, allocations: 136.8 kB / 0.7968 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.345, allocations: 7.984 kB / 0.7968 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004119/0.3454, allocations: 173.5 kB / 0.797 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/0.3454, allocations: 0 / 0.797 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0008734/0.3463, allocations: 394.9 kB / 0.7974 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.3464, allocations: 81.11 kB / 0.7974 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3468, allocations: 349.6 kB / 0.7978 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.3469, allocations: 37.7 kB / 0.7978 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.3471, allocations: 236.9 kB / 0.798 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.3472, allocations: 98.56 kB / 0.7981 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.3472, allocations: 4 kB / 0.7981 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3474, allocations: 350.8 kB / 0.7985 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3476, allocations: 100.7 kB / 0.7986 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.3479, allocations: 172.4 kB / 0.7987 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.3481, allocations: 113.6 kB / 0.7988 GB, free: 460 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3481, allocations: 3.953 kB / 0.7988 GB, free: 456 kB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006108/0.3488, allocations: 354.9 kB / 0.7992 GB, free: 96 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3488, allocations: 4 kB / 0.7992 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3488, allocations: 4 kB / 0.7992 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3488, allocations: 0 / 0.7992 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.3491, allocations: 63.91 kB / 0.7992 GB, free: 24 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.3491, allocations: 11.92 kB / 0.7992 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3494, allocations: 47.86 kB / 0.7993 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3494, allocations: 16 kB / 0.7993 GB, free: 15.95 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * 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.0002151/0.3496, allocations: 170.4 kB / 0.7995 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.3497, allocations: 39.48 kB / 0.7995 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.3498, allocations: 44.25 kB / 0.7996 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3498, allocations: 4 kB / 0.7996 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3498, allocations: 3.984 kB / 0.7996 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3498, allocations: 0 / 0.7996 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.351, allocations: 0.823 MB / 0.8004 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.351, allocations: 4 kB / 0.8004 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.3512, allocations: 43.92 kB / 0.8004 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3512, allocations: 0 / 0.8004 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3513, allocations: 15.98 kB / 0.8004 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3513, allocations: 0 / 0.8004 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3513, allocations: 4 kB / 0.8004 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.3521, allocations: 0.5111 MB / 0.8009 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3523, allocations: 140.6 kB / 0.8011 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.3523, allocations: 8 kB / 0.8011 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.3525, allocations: 19.98 kB / 0.8011 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.54e-05/0.3526, allocations: 27.95 kB / 0.8011 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.3527, allocations: 12 kB / 0.8011 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002653/0.3529, allocations: 239.2 kB / 0.8014 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.383e-06/0.3529, allocations: 0 / 0.8014 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003597/0.3533, allocations: 95.62 kB / 0.8014 GB, free: 13.66 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001438/0.3534, allocations: 105.7 kB / 0.8015 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005512/0.354, allocations: 267.7 kB / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.354, allocations: 384 / 0.8018 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3543, allocations: 144.4 kB / 0.8019 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3548, allocations: 81.39 kB / 0.802 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3564, allocations: 0.9956 MB / 0.803 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005298/0.357, allocations: 0.8152 MB / 0.8038 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.3571, allocations: 31.44 kB / 0.8038 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.224e-06/0.3571, allocations: 0 / 0.8038 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.007952/0.3651, allocations: 4.8 MB / 0.8085 GB, free: 6.379 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1