Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007376/0.0007377, allocations: 102.8 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.0007863/0.0007863, allocations: 176.6 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8977/0.8977, allocations: 135.3 MB / 427 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 9.125 kB / 0.5076 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.149, allocations: 82.31 MB / 0.588 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00207/0.1511, allocations: 1.685 MB / 0.5896 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.152, allocations: 0.4951 MB / 0.5901 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1522, allocations: 4 kB / 0.5901 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.1523, allocations: 15.86 kB / 0.5901 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1524, allocations: 35.69 kB / 0.5902 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1526, allocations: 47.83 kB / 0.5902 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1528, allocations: 171.3 kB / 0.5904 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.153, allocations: 53.83 kB / 0.5904 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1531, allocations: 59.77 kB / 0.5905 GB, free: 464 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1533, allocations: 71.62 kB / 0.5905 GB, free: 392 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.1533, allocations: 8 kB / 0.5906 GB, free: 384 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.247e-05/0.1533, allocations: 4 kB / 0.5906 GB, free: 380 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.1534, allocations: 27.92 kB / 0.5906 GB, free: 352 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.1534, allocations: 49.64 kB / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.1536, allocations: 119.9 kB / 0.5907 GB, free: 176 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1536, allocations: 4 kB / 0.5908 GB, free: 172 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1536, allocations: 0 / 0.5908 GB, free: 172 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1536, allocations: 0 / 0.5908 GB, free: 172 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000742/0.1543, allocations: 482.7 kB / 0.5912 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1544, allocations: 11.97 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.1545, allocations: 23.72 kB / 0.5912 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1547, allocations: 202.8 kB / 0.5914 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.036e-05/0.1548, allocations: 45.69 kB / 0.5915 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1548, allocations: 15.94 kB / 0.5915 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003807/0.1552, allocations: 161.6 kB / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1552, allocations: 0 / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1552, allocations: 8 kB / 0.5917 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1552, allocations: 4 kB / 0.5917 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.1557, allocations: 168.4 kB / 0.5918 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007763/0.1565, allocations: 0.5463 MB / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.1569, allocations: 142.7 kB / 0.5925 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1571, allocations: 92.81 kB / 0.5926 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1571, allocations: 3.984 kB / 0.5926 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1571, allocations: 30.56 kB / 0.5926 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1572, allocations: 0 / 0.5926 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006502/0.1578, allocations: 265.3 kB / 0.5929 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1578, allocations: 51.41 kB / 0.5929 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.158, allocations: 157.7 kB / 0.5931 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.158, allocations: 25.7 kB / 0.5931 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.1581, allocations: 128.2 kB / 0.5932 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1581, allocations: 43.39 kB / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.1581, allocations: 4 kB / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1582, allocations: 326.8 kB / 0.5936 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1584, allocations: 75.94 kB / 0.5936 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1586, allocations: 98.52 kB / 0.5937 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.1588, allocations: 67.97 kB / 0.5938 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1588, allocations: 3.938 kB / 0.5938 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004252/0.1593, allocations: 217.4 kB / 0.594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1593, allocations: 10.19 kB / 0.594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1593, allocations: 0 / 0.594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1593, allocations: 0 / 0.594 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.1595, allocations: 51.95 kB / 0.5941 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1595, allocations: 0 / 0.5941 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1597, allocations: 35.95 kB / 0.5941 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1597, allocations: 7.984 kB / 0.5941 GB, free: 12.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.con.y_boolean,con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001011/0.1598, allocations: 137.6 kB / 0.5942 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.1598, allocations: 11.81 kB / 0.5943 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.1599, allocations: 24.72 kB / 0.5943 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1599, allocations: 4 kB / 0.5943 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1599, allocations: 0 / 0.5943 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1599, allocations: 0 / 0.5943 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1601, allocations: 237.5 kB / 0.5945 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1601, allocations: 0 / 0.5945 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.1603, allocations: 39.97 kB / 0.5945 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1603, allocations: 0 / 0.5945 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1604, allocations: 11.98 kB / 0.5946 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1604, allocations: 4 kB / 0.5946 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1604, allocations: 0 / 0.5946 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.161, allocations: 379 kB / 0.5949 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1611, allocations: 85.05 kB / 0.595 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1611, allocations: 8 kB / 0.595 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1612, allocations: 27.95 kB / 0.595 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1613, allocations: 20.03 kB / 0.5951 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1613, allocations: 4 kB / 0.5951 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.454e-05/0.1614, allocations: 111.2 kB / 0.5952 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1614, allocations: 0 / 0.5952 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002454/0.1616, allocations: 39.84 kB / 0.5952 GB, free: 11.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 8.445e-05/0.1617, allocations: 100.3 kB / 0.5953 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.1622, allocations: 171.5 kB / 0.5955 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1622, allocations: 4 kB / 0.5955 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1624, allocations: 83.89 kB / 0.5956 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.1627, allocations: 27.94 kB / 0.5956 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.1634, allocations: 0.4914 MB / 0.5961 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1636, allocations: 0.716 MB / 0.5968 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.1637, allocations: 19.38 kB / 0.5968 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1637, allocations: 0 / 0.5968 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.002981/0.1667, allocations: 1.784 MB / 0.5985 GB, free: 7.809 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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 OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_CoolingCalcHelperMain.o] Error 1