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.001089/0.001089, allocations: 100.5 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.001292/0.001292, allocations: 176 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.778/1.778, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.803/1.803, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0008286/0.0008288, allocations: 12.94 kB / 0.6743 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3467, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003617/0.3504, allocations: 2.527 MB / 0.7904 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.3522, allocations: 0.8858 MB / 0.7913 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.3525, allocations: 19.94 kB / 0.7913 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.3527, allocations: 43.58 kB / 0.7913 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.3529, allocations: 67.41 kB / 0.7914 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3534, allocations: 147.8 kB / 0.7915 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000544/0.354, allocations: 435.3 kB / 0.7919 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.3543, allocations: 137 kB / 0.7921 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.3545, allocations: 143.2 kB / 0.7922 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.3548, allocations: 127.2 kB / 0.7923 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.3548, allocations: 8 kB / 0.7923 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-05/0.3549, allocations: 12 kB / 0.7923 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3549, allocations: 51.7 kB / 0.7924 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.355, allocations: 89.45 kB / 0.7925 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.3554, allocations: 371.3 kB / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3554, allocations: 0 / 0.7928 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.438e-06/0.3554, allocations: 4 kB / 0.7928 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3554, allocations: 0 / 0.7928 GB, free: 6.891 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.001157/0.3566, allocations: 0.6505 MB / 0.7935 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.3566, allocations: 8.031 kB / 0.7935 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.255e-05/0.3567, allocations: 47.44 kB / 0.7935 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.3573, allocations: 379.3 kB / 0.7939 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.3574, allocations: 24.59 kB / 0.7939 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.392e-05/0.3574, allocations: 32 kB / 0.7939 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/0.358, allocations: 337.1 kB / 0.7943 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3581, allocations: 0 / 0.7943 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.3581, allocations: 12 kB / 0.7943 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3581, allocations: 8 kB / 0.7943 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.3586, allocations: 222.1 kB / 0.7945 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3603, allocations: 1.19 MB / 0.7956 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.3608, allocations: 242.1 kB / 0.7959 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.3611, allocations: 117.2 kB / 0.796 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3611, allocations: 192 / 0.796 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3612, allocations: 42.75 kB / 0.796 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 9.92e-07/0.3612, allocations: 0 / 0.796 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0006825/0.3619, allocations: 298.7 kB / 0.7963 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.362, allocations: 106.8 kB / 0.7964 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.3624, allocations: 337.6 kB / 0.7967 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.3624, allocations: 37.7 kB / 0.7968 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.3626, allocations: 220.2 kB / 0.797 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.3627, allocations: 78.84 kB / 0.7971 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.3627, allocations: 8 kB / 0.7971 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3629, allocations: 342.8 kB / 0.7974 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3631, allocations: 71.97 kB / 0.7975 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.3634, allocations: 147.7 kB / 0.7976 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3636, allocations: 91.95 kB / 0.7977 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3636, allocations: 0 / 0.7977 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004975/0.3641, allocations: 277.1 kB / 0.798 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3641, allocations: 4.188 kB / 0.798 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3641, allocations: 8 kB / 0.798 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3641, allocations: 0 / 0.798 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3644, allocations: 59.91 kB / 0.798 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3644, allocations: 7.953 kB / 0.798 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3646, allocations: 39.67 kB / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.3646, allocations: 8 kB / 0.7981 GB, free: 1.215 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 ($PRE.con.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002099/0.3648, allocations: 161.8 kB / 0.7982 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3649, allocations: 31.62 kB / 0.7983 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.365, allocations: 39.36 kB / 0.7983 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.365, allocations: 7.984 kB / 0.7983 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.365, allocations: 3.938 kB / 0.7983 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3651, allocations: 3.953 kB / 0.7983 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.3656, allocations: 401.2 kB / 0.7987 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3656, allocations: 4 kB / 0.7987 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.3658, allocations: 39.98 kB / 0.7987 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3658, allocations: 0 / 0.7987 GB, free: 480 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3658, allocations: 11.98 kB / 0.7988 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3659, allocations: 0 / 0.7988 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3659, allocations: 0 / 0.7988 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.3666, allocations: 438.8 kB / 0.7992 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3667, allocations: 120.7 kB / 0.7993 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3668, allocations: 8 kB / 0.7993 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.367, allocations: 23.92 kB / 0.7993 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.367, allocations: 15.97 kB / 0.7993 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.367, allocations: 8.062 kB / 0.7993 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002456/0.3673, allocations: 239.2 kB / 0.7996 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.617e-06/0.3673, allocations: 4 kB / 0.7996 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003201/0.3676, allocations: 71.69 kB / 0.7996 GB, free: 15.52 MB / 0.6231 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 (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.000148/0.3678, allocations: 103.2 kB / 0.7997 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.3682, allocations: 210.2 kB / 0.7999 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3683, allocations: 0 / 0.7999 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3685, allocations: 99.84 kB / 0.8 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.369, allocations: 87.53 kB / 0.8001 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3704, allocations: 0.8583 MB / 0.801 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3709, allocations: 0.7914 MB / 0.8017 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.371, allocations: 31.42 kB / 0.8018 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.371, allocations: 7.938 kB / 0.8018 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.007118/0.3781, allocations: 4.166 MB / 0.8058 GB, free: 9.121 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++ 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.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