Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008398/0.0008398, allocations: 102.1 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.001024/0.001024, allocations: 173.2 kB / 16.58 MB, free: 6.402 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.387/1.387, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003577, allocations: 12 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5247/0.525, allocations: 81.57 MB / 0.5837 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.001982/0.5271, allocations: 1.689 MB / 0.5853 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007468/0.5278, allocations: 0.4985 MB / 0.5858 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.5279, allocations: 1.344 kB / 0.5858 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.769e-05/0.528, allocations: 19.31 kB / 0.5858 GB, free: 2.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.5281, allocations: 37.98 kB / 0.5859 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.5283, allocations: 39 kB / 0.5859 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.5285, allocations: 172.1 kB / 0.5861 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.5287, allocations: 53.38 kB / 0.5861 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.5288, allocations: 63.83 kB / 0.5862 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.529, allocations: 63.61 kB / 0.5862 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.529, allocations: 7.312 kB / 0.5862 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.657e-05/0.529, allocations: 6.594 kB / 0.5862 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.5291, allocations: 27.03 kB / 0.5863 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.5291, allocations: 50.58 kB / 0.5863 GB, free: 2.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.5293, allocations: 122.3 kB / 0.5864 GB, free: 2.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5293, allocations: 0.5625 kB / 0.5864 GB, free: 2.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5293, allocations: 3.938 kB / 0.5864 GB, free: 2.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.5293, allocations: 1 kB / 0.5864 GB, free: 2.117 MB / 430.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.0006555/0.53, allocations: 477.1 kB / 0.5869 GB, free: 1.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.53, allocations: 9.5 kB / 0.5869 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.5301, allocations: 26.02 kB / 0.5869 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.5303, allocations: 212.9 kB / 0.5871 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.5303, allocations: 37.19 kB / 0.5872 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.5304, allocations: 12.78 kB / 0.5872 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.5308, allocations: 172.2 kB / 0.5873 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5308, allocations: 0 / 0.5873 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.5309, allocations: 5.219 kB / 0.5873 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.5309, allocations: 3.75 kB / 0.5873 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.5314, allocations: 173.8 kB / 0.5875 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.5322, allocations: 0.5316 MB / 0.588 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.5326, allocations: 148.3 kB / 0.5882 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.5328, allocations: 93.39 kB / 0.5883 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.5329, allocations: 0.9062 kB / 0.5883 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.5329, allocations: 32.53 kB / 0.5883 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.5329, allocations: 0.9375 kB / 0.5883 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007298/0.5336, allocations: 258.8 kB / 0.5885 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.5337, allocations: 53.53 kB / 0.5886 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.5338, allocations: 161.6 kB / 0.5887 GB, free: 492 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5338, allocations: 31.39 kB / 0.5888 GB, free: 456 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.5339, allocations: 125.8 kB / 0.5889 GB, free: 336 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5339, allocations: 45.2 kB / 0.5889 GB, free: 300 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.5339, allocations: 0 / 0.5889 GB, free: 300 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.534, allocations: 326.9 kB / 0.5893 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5343, allocations: 68.98 kB / 0.5893 GB, free: 15.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.5345, allocations: 101.2 kB / 0.5894 GB, free: 15.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.5347, allocations: 73.45 kB / 0.5895 GB, free: 15.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5348, allocations: 1.031 kB / 0.5895 GB, free: 15.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005575/0.5353, allocations: 216.1 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5354, allocations: 6.109 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.5354, allocations: 0.5 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5354, allocations: 2.25 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5356, allocations: 44.95 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5356, allocations: 2.641 kB / 0.5897 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.5358, allocations: 47.09 kB / 0.5898 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.5358, allocations: 8.375 kB / 0.5898 GB, free: 15.79 MB / 446.1 MB 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.0001189/0.5359, allocations: 121.9 kB / 0.5899 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.536, allocations: 18.45 kB / 0.5899 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.536, allocations: 21.27 kB / 0.59 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5361, allocations: 1.094 kB / 0.59 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5361, allocations: 6.031 kB / 0.59 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5361, allocations: 0.7969 kB / 0.59 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.5364, allocations: 242.6 kB / 0.5902 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5364, allocations: 0 / 0.5902 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.5366, allocations: 46.7 kB / 0.5902 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5366, allocations: 1.031 kB / 0.5902 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.5367, allocations: 10.08 kB / 0.5902 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5367, allocations: 0 / 0.5902 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5367, allocations: 5.188 kB / 0.5903 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.5374, allocations: 378.5 kB / 0.5906 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.5375, allocations: 89.5 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.5375, allocations: 5.688 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5377, allocations: 24.41 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.5378, allocations: 16.94 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.5378, allocations: 6.531 kB / 0.5908 GB, free: 15.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.5379, allocations: 118 kB / 0.5909 GB, free: 15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5379, allocations: 0 / 0.5909 GB, free: 15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.5382, allocations: 39.69 kB / 0.5909 GB, free: 14.98 MB / 446.1 MB 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 0.0002197/0.5384, allocations: 99.22 kB / 0.591 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004873/0.5389, allocations: 164.9 kB / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5389, allocations: 128 / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.5391, allocations: 89.94 kB / 0.5912 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.5395, allocations: 22.62 kB / 0.5913 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.5403, allocations: 0.4884 MB / 0.5917 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.5407, allocations: 0.722 MB / 0.5924 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.5408, allocations: 15.42 kB / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5408, allocations: 0 / 0.5925 GB, free: 13.78 MB / 446.1 MB Notification: Performance of Templates: time 0.004126/0.5449, allocations: 1.787 MB / 0.5942 GB, free: 13.64 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile make -j1 -f IDEAS_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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_HeatingCalcHelperMain.o] Error 1