Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007213/0.0007213, allocations: 102.7 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.0007366/0.0007367, allocations: 174.2 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.252/1.252, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8636/0.8636, allocations: 135.3 MB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 13.05 kB / 0.5076 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 82.31 MB / 0.588 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.001923/0.152, allocations: 1.681 MB / 0.5896 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006984/0.1527, allocations: 0.499 MB / 0.5901 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.1528, allocations: 4 kB / 0.5901 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.573e-05/0.1529, allocations: 15.84 kB / 0.5901 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.153, allocations: 35.7 kB / 0.5902 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1531, allocations: 47.89 kB / 0.5902 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1533, allocations: 167.3 kB / 0.5904 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.1535, allocations: 53.81 kB / 0.5904 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.1536, allocations: 59.78 kB / 0.5905 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.1537, allocations: 67.69 kB / 0.5905 GB, free: 0.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1537, allocations: 8 kB / 0.5905 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.125e-05/0.1537, allocations: 11.94 kB / 0.5906 GB, free: 492 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1538, allocations: 23.91 kB / 0.5906 GB, free: 468 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.1538, allocations: 49.64 kB / 0.5906 GB, free: 412 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1539, allocations: 120 kB / 0.5907 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.154, allocations: 0 / 0.5907 GB, free: 292 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.154, allocations: 0 / 0.5907 GB, free: 292 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.154, allocations: 0 / 0.5907 GB, free: 292 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.0006474/0.1546, allocations: 474.7 kB / 0.5912 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1547, allocations: 12.03 kB / 0.5912 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1547, allocations: 27.66 kB / 0.5912 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1549, allocations: 217.9 kB / 0.5914 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-05/0.155, allocations: 45.67 kB / 0.5915 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.155, allocations: 12 kB / 0.5915 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.1554, allocations: 165.5 kB / 0.5917 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1554, allocations: 0 / 0.5917 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.1554, allocations: 8 kB / 0.5917 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1554, allocations: 0 / 0.5917 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.1559, allocations: 176.4 kB / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000719/0.1566, allocations: 0.5425 MB / 0.5924 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.157, allocations: 142.6 kB / 0.5925 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.1572, allocations: 88.8 kB / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1572, allocations: 0 / 0.5926 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.1573, allocations: 42.56 kB / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 8.51e-07/0.1573, allocations: 0 / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006428/0.1579, allocations: 261.3 kB / 0.5929 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.158, allocations: 55.41 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1581, allocations: 153.4 kB / 0.5931 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1581, allocations: 29.7 kB / 0.5931 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.1582, allocations: 124.1 kB / 0.5932 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1582, allocations: 43.39 kB / 0.5933 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.1582, allocations: 4 kB / 0.5933 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1584, allocations: 326.8 kB / 0.5936 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1586, allocations: 71.95 kB / 0.5936 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1588, allocations: 101.8 kB / 0.5937 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1589, allocations: 75.95 kB / 0.5938 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.159, allocations: 0 / 0.5938 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004333/0.1594, allocations: 213.4 kB / 0.594 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1594, allocations: 4 kB / 0.594 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1594, allocations: 0 / 0.594 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.1595, allocations: 4 kB / 0.594 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1596, allocations: 51.97 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1597, allocations: 0 / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1598, allocations: 39.88 kB / 0.5941 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1598, allocations: 0 / 0.5941 GB, free: 12.59 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.0001002/0.1599, allocations: 137.7 kB / 0.5942 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.16, allocations: 15.81 kB / 0.5943 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.16, allocations: 16.7 kB / 0.5943 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.16, allocations: 4 kB / 0.5943 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.16, allocations: 0 / 0.5943 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.16, allocations: 0 / 0.5943 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1603, allocations: 249.5 kB / 0.5945 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1603, allocations: 0 / 0.5945 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.1605, allocations: 43.91 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1605, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1605, allocations: 4 kB / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1605, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1605, allocations: 0 / 0.5946 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.1612, allocations: 388.5 kB / 0.5949 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.1612, allocations: 81.02 kB / 0.595 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1613, allocations: 7.984 kB / 0.595 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1614, allocations: 32.03 kB / 0.595 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1615, allocations: 15.92 kB / 0.5951 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1615, allocations: 0 / 0.5951 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.1616, allocations: 115.2 kB / 0.5952 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.5952 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002442/0.1618, allocations: 39.84 kB / 0.5952 GB, free: 11.37 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 9.117e-05/0.1619, allocations: 100.3 kB / 0.5953 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.1623, allocations: 172 kB / 0.5955 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1624, allocations: 0 / 0.5955 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.1626, allocations: 87.88 kB / 0.5956 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1629, allocations: 27.55 kB / 0.5956 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006891/0.1636, allocations: 499.2 kB / 0.5961 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1639, allocations: 0.7238 MB / 0.5968 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1639, allocations: 11.44 kB / 0.5968 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1639, allocations: 4 kB / 0.5968 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of Templates: time 0.003111/0.167, allocations: 1.781 MB / 0.5985 GB, free: 7.918 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_HeatingCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.o] Error 1