Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007369/0.0007369, allocations: 92.39 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.0007939/0.0007939, allocations: 181.1 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.351/1.351, allocations: 223.2 MB / 240.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 275 kB / 292.3 MB, free: 1.801 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9407/0.9407, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004346/0.0004348, allocations: 15.84 kB / 0.5993 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1918, allocations: 88.55 MB / 0.6858 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002375/0.1942, allocations: 1.471 MB / 0.6872 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1961, allocations: 1.068 MB / 0.6883 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1963, allocations: 4 kB / 0.6883 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1966, allocations: 51.81 kB / 0.6883 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1969, allocations: 68.89 kB / 0.6884 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.1976, allocations: 199.4 kB / 0.6886 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1978, allocations: 131.7 kB / 0.6887 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1979, allocations: 27.56 kB / 0.6887 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1981, allocations: 59.64 kB / 0.6888 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.1982, allocations: 63.75 kB / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1982, allocations: 0 / 0.6888 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.1984, allocations: 64.41 kB / 0.6889 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1985, allocations: 35.83 kB / 0.6889 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.1986, allocations: 69.92 kB / 0.689 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1989, allocations: 153.7 kB / 0.6891 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1989, allocations: 4 kB / 0.6891 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1989, allocations: 0 / 0.6891 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1989, allocations: 0 / 0.6891 GB, free: 11.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006728/0.1996, allocations: 463.3 kB / 0.6896 GB, free: 11.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1996, allocations: 9.531 kB / 0.6896 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.1997, allocations: 24.72 kB / 0.6896 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.2, allocations: 249.5 kB / 0.6899 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.2, allocations: 8.312 kB / 0.6899 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2001, allocations: 8.875 kB / 0.6899 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.2003, allocations: 97.34 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2003, allocations: 1.719 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2003, allocations: 7.984 kB / 0.69 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2004, allocations: 0 / 0.69 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.2005, allocations: 31.98 kB / 0.69 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.201, allocations: 366.3 kB / 0.6904 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.2013, allocations: 85.94 kB / 0.6904 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.694e-05/0.2014, allocations: 32.84 kB / 0.6905 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2014, allocations: 0 / 0.6905 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.2016, allocations: 79.38 kB / 0.6905 GB, free: 9.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 4.329e-06/0.2016, allocations: 1.875 kB / 0.6905 GB, free: 9.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003643/0.202, allocations: 145.6 kB / 0.6907 GB, free: 9.812 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.2021, allocations: 102.8 kB / 0.6908 GB, free: 9.688 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.2024, allocations: 267.8 kB / 0.691 GB, free: 9.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2024, allocations: 25.7 kB / 0.6911 GB, free: 9.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.2025, allocations: 120.8 kB / 0.6912 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.2025, allocations: 20.38 kB / 0.6912 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.2026, allocations: 17.7 kB / 0.6912 GB, free: 9.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2027, allocations: 332.2 kB / 0.6915 GB, free: 8.891 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.2028, allocations: 27.92 kB / 0.6916 GB, free: 8.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2029, allocations: 76.88 kB / 0.6916 GB, free: 8.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.2031, allocations: 69.69 kB / 0.6917 GB, free: 8.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2031, allocations: 0 / 0.6917 GB, free: 8.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002244/0.2033, allocations: 113.4 kB / 0.6918 GB, free: 8.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2033, allocations: 9.875 kB / 0.6918 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2033, allocations: 4 kB / 0.6918 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2034, allocations: 0 / 0.6918 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2035, allocations: 20.02 kB / 0.6918 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2035, allocations: 0 / 0.6918 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.2036, allocations: 7.938 kB / 0.6918 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.2036, allocations: 7.938 kB / 0.6919 GB, free: 8.535 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.000131/0.2037, allocations: 142.4 kB / 0.692 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.2037, allocations: 19.8 kB / 0.692 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.2038, allocations: 17.41 kB / 0.692 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2038, allocations: 0 / 0.692 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2038, allocations: 0 / 0.692 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.2038, allocations: 11.94 kB / 0.692 GB, free: 8.336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2041, allocations: 229.5 kB / 0.6923 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2041, allocations: 0 / 0.6923 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.2041, allocations: 4 kB / 0.6923 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2041, allocations: 0 / 0.6923 GB, free: 8.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2041, allocations: 4 kB / 0.6923 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2041, allocations: 0 / 0.6923 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2041, allocations: 0 / 0.6923 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.2044, allocations: 144.8 kB / 0.6924 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.2045, allocations: 96.91 kB / 0.6925 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2045, allocations: 4 kB / 0.6925 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.2046, allocations: 4.047 kB / 0.6925 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2046, allocations: 15.91 kB / 0.6925 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2046, allocations: 7.938 kB / 0.6925 GB, free: 7.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.2048, allocations: 196.6 kB / 0.6927 GB, free: 7.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2048, allocations: 0 / 0.6927 GB, free: 7.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.2051, allocations: 35.94 kB / 0.6927 GB, free: 7.523 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001042/0.2061, allocations: 432 kB / 0.6932 GB, free: 7.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.2064, allocations: 63.97 kB / 0.6932 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2064, allocations: 3.938 kB / 0.6932 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2065, allocations: 35.97 kB / 0.6933 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.2068, allocations: 35.97 kB / 0.6933 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005882/0.2074, allocations: 355.8 kB / 0.6936 GB, free: 6.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2077, allocations: 0.7282 MB / 0.6943 GB, free: 5.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.2078, allocations: 19.42 kB / 0.6944 GB, free: 5.965 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2078, allocations: 4 kB / 0.6944 GB, free: 5.961 MB / 494.1 MB Notification: Performance of Templates: time 0.004913/0.2127, allocations: 2.572 MB / 0.6969 GB, free: 3.41 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicatorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1