Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007194/0.007194, allocations: 100.3 kB / 15.87 MB, free: 5.863 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.001257/0.001258, allocations: 194.2 kB / 16.79 MB, free: 5.805 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.832/1.832, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.872/1.872, allocations: 292.3 MB / 0.5491 GB, free: 13.71 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.001322/0.001322, allocations: 71.3 kB / 0.6715 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 114.5 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00654/0.3023, allocations: 4.152 MB / 0.7874 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.3058, allocations: 1.326 MB / 0.7887 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.3065, allocations: 23.88 kB / 0.7887 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004153/0.307, allocations: 95.2 kB / 0.7888 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.3074, allocations: 146.8 kB / 0.7889 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3084, allocations: 385.3 kB / 0.7893 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.3094, allocations: 0.8773 MB / 0.7901 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.3101, allocations: 426.4 kB / 0.7905 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003618/0.3105, allocations: 278.7 kB / 0.7908 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003541/0.3109, allocations: 306.4 kB / 0.7911 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.3109, allocations: 40 kB / 0.7911 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.311, allocations: 40 kB / 0.7912 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3112, allocations: 131.4 kB / 0.7913 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.3115, allocations: 342 kB / 0.7916 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.3123, allocations: 0.83 MB / 0.7924 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3123, allocations: 4 kB / 0.7924 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3123, allocations: 0 / 0.7924 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3124, allocations: 0 / 0.7924 GB, free: 4.633 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002017/0.3144, allocations: 1.077 MB / 0.7935 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3144, allocations: 8.031 kB / 0.7935 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3146, allocations: 84 kB / 0.7936 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008981/0.3155, allocations: 0.5533 MB / 0.7941 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3156, allocations: 41.69 kB / 0.7942 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3157, allocations: 60.38 kB / 0.7942 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3169, allocations: 0.6156 MB / 0.7948 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3169, allocations: 0 / 0.7948 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.317, allocations: 20 kB / 0.7948 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.317, allocations: 16 kB / 0.7949 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.318, allocations: 465 kB / 0.7953 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.3212, allocations: 2.004 MB / 0.7973 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/0.3222, allocations: 445.2 kB / 0.7977 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.3227, allocations: 249.9 kB / 0.7979 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.868e-05/0.3228, allocations: 12.44 kB / 0.7979 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.3235, allocations: 265.2 kB / 0.7982 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 3.166e-06/0.3235, allocations: 0 / 0.7982 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001357/0.3249, allocations: 0.5807 MB / 0.7988 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.3249, allocations: 59.78 kB / 0.7988 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.3255, allocations: 446 kB / 0.7992 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.3255, allocations: 37.7 kB / 0.7993 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002691/0.3258, allocations: 320.3 kB / 0.7996 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.326, allocations: 165.5 kB / 0.7997 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.3262, allocations: 94.25 kB / 0.7998 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3264, allocations: 366.7 kB / 0.8002 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.3268, allocations: 169 kB / 0.8003 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.3272, allocations: 249.8 kB / 0.8006 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.3281, allocations: 460 kB / 0.801 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3281, allocations: 0 / 0.801 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001086/0.3292, allocations: 0.5586 MB / 0.8016 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.3293, allocations: 45.62 kB / 0.8016 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3293, allocations: 0 / 0.8016 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.3293, allocations: 8 kB / 0.8016 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.3298, allocations: 111.8 kB / 0.8017 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3298, allocations: 4 kB / 0.8017 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.3302, allocations: 67.56 kB / 0.8018 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.3303, allocations: 16 kB / 0.8018 GB, free: 10.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003039/0.3306, allocations: 208.1 kB / 0.802 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.3307, allocations: 59.28 kB / 0.8021 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.3308, allocations: 61.58 kB / 0.8021 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.3309, allocations: 8 kB / 0.8021 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.3309, allocations: 0 / 0.8021 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.3309, allocations: 3.984 kB / 0.8021 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.3328, allocations: 1.181 MB / 0.8033 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3328, allocations: 0 / 0.8033 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.3333, allocations: 91.89 kB / 0.8034 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.3333, allocations: 7.984 kB / 0.8034 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.3334, allocations: 8 kB / 0.8034 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3334, allocations: 8 kB / 0.8034 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3334, allocations: 0 / 0.8034 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.3348, allocations: 0.76 MB / 0.8041 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.335, allocations: 168.3 kB / 0.8043 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.3351, allocations: 16 kB / 0.8043 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.3354, allocations: 31.91 kB / 0.8043 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3355, allocations: 32.39 kB / 0.8044 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.3356, allocations: 16.11 kB / 0.8044 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003858/0.3359, allocations: 310.9 kB / 0.8047 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.336, allocations: 0 / 0.8047 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004803/0.3364, allocations: 135.5 kB / 0.8048 GB, free: 7.516 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002004/0.3366, allocations: 123.1 kB / 0.8049 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.3376, allocations: 481 kB / 0.8054 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3377, allocations: 0.5 kB / 0.8054 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.3381, allocations: 218.4 kB / 0.8056 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/0.339, allocations: 155.8 kB / 0.8057 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3421, allocations: 1.638 MB / 0.8073 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.3426, allocations: 0.8941 MB / 0.8082 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3428, allocations: 39.44 kB / 0.8083 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.3428, allocations: 0 / 0.8083 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.01221/0.355, allocations: 7.602 MB / 0.8157 GB, free: 12.35 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithResetCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1