Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 92.16 kB / 16.02 MB, free: 80 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.001156/0.001156, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.318/1.318, allocations: 223.2 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001854, allocations: 263.2 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9439/0.9439, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004293/0.0004293, allocations: 21.06 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 88.54 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset): time 0.002291/0.2191, allocations: 1.539 MB / 0.6873 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2202, allocations: 0.523 MB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2204, allocations: 8.5 kB / 0.6878 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.2205, allocations: 14.17 kB / 0.6878 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.2206, allocations: 19.8 kB / 0.6878 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.2208, allocations: 63.88 kB / 0.6879 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.2211, allocations: 163.5 kB / 0.688 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.2212, allocations: 49.36 kB / 0.6881 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.457e-05/0.2213, allocations: 43.73 kB / 0.6881 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.2214, allocations: 51.64 kB / 0.6882 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.2214, allocations: 4 kB / 0.6882 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.2215, allocations: 8.656 kB / 0.6882 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.2215, allocations: 19.91 kB / 0.6882 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.2216, allocations: 85.75 kB / 0.6883 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2217, allocations: 86.17 kB / 0.6884 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2217, allocations: 0 / 0.6884 GB, free: 12.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2217, allocations: 4 kB / 0.6884 GB, free: 12.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2218, allocations: 3.938 kB / 0.6884 GB, free: 12.41 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006689/0.2224, allocations: 452.9 kB / 0.6888 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2225, allocations: 8.031 kB / 0.6888 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.2225, allocations: 20.09 kB / 0.6888 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.2228, allocations: 227.9 kB / 0.6891 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.2228, allocations: 12.38 kB / 0.6891 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.2228, allocations: 12.38 kB / 0.6891 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.2232, allocations: 156.5 kB / 0.6892 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2232, allocations: 0 / 0.6892 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.2232, allocations: 4 kB / 0.6892 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.2232, allocations: 7.984 kB / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2235, allocations: 82.75 kB / 0.6893 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.2244, allocations: 0.7406 MB / 0.69 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.2245, allocations: 58.48 kB / 0.6901 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.2247, allocations: 36.84 kB / 0.6901 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2247, allocations: 0 / 0.6901 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.225, allocations: 134.6 kB / 0.6903 GB, free: 10.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.225, allocations: 0 / 0.6903 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005187/0.2255, allocations: 181.5 kB / 0.6904 GB, free: 10.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.2256, allocations: 136.5 kB / 0.6906 GB, free: 9.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2258, allocations: 198.9 kB / 0.6908 GB, free: 9.738 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2258, allocations: 33.7 kB / 0.6908 GB, free: 9.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.2259, allocations: 123.8 kB / 0.6909 GB, free: 9.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.2259, allocations: 43.69 kB / 0.6909 GB, free: 9.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.226, allocations: 33.7 kB / 0.691 GB, free: 9.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2261, allocations: 326.8 kB / 0.6913 GB, free: 9.164 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2263, allocations: 39.97 kB / 0.6913 GB, free: 9.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.2265, allocations: 154.8 kB / 0.6915 GB, free: 8.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.2268, allocations: 214.3 kB / 0.6917 GB, free: 8.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2268, allocations: 4 kB / 0.6917 GB, free: 8.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004261/0.2273, allocations: 217.3 kB / 0.6919 GB, free: 8.441 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2273, allocations: 8 kB / 0.6919 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.2273, allocations: 7.984 kB / 0.6919 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2273, allocations: 4.5 kB / 0.6919 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.2275, allocations: 39.92 kB / 0.692 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2275, allocations: 7.984 kB / 0.692 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2276, allocations: 39.67 kB / 0.692 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2277, allocations: 11.98 kB / 0.692 GB, free: 8.324 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001248/0.2278, allocations: 143 kB / 0.6921 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.2278, allocations: 15.81 kB / 0.6922 GB, free: 8.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.825e-05/0.2279, allocations: 25.39 kB / 0.6922 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2279, allocations: 4 kB / 0.6922 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.2279, allocations: 0 / 0.6922 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2279, allocations: 4 kB / 0.6922 GB, free: 8.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.2287, allocations: 0.5211 MB / 0.6927 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.2287, allocations: 4 kB / 0.6927 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.2288, allocations: 20.23 kB / 0.6927 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.2289, allocations: 4 kB / 0.6927 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2289, allocations: 4 kB / 0.6927 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.2289, allocations: 8 kB / 0.6927 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.2289, allocations: 3.938 kB / 0.6927 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000542/0.2294, allocations: 380.1 kB / 0.6931 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.2295, allocations: 92.95 kB / 0.6932 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2295, allocations: 4 kB / 0.6932 GB, free: 6.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.2297, allocations: 15.98 kB / 0.6932 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2298, allocations: 19.92 kB / 0.6932 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2298, allocations: 4 kB / 0.6932 GB, free: 6.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.2299, allocations: 140.6 kB / 0.6934 GB, free: 6.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2299, allocations: 0 / 0.6934 GB, free: 6.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.2303, allocations: 31.94 kB / 0.6934 GB, free: 6.789 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001301/0.2304, allocations: 105.9 kB / 0.6935 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003411/0.2307, allocations: 123.8 kB / 0.6936 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2308, allocations: 5 kB / 0.6936 GB, free: 6.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2309, allocations: 60.03 kB / 0.6937 GB, free: 6.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.2315, allocations: 65.77 kB / 0.6937 GB, free: 6.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.2321, allocations: 428.4 kB / 0.6942 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2325, allocations: 0.7245 MB / 0.6949 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.2325, allocations: 19.44 kB / 0.6949 GB, free: 5.203 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2325, allocations: 0 / 0.6949 GB, free: 5.203 MB / 494.1 MB Notification: Performance of Templates: time 0.004193/0.2367, allocations: 2.119 MB / 0.6969 GB, free: 3.094 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithResetCalcHelperMain.o] Error 1