Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009257/0.0009256, allocations: 88.77 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.001092/0.001092, allocations: 183.2 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.319/1.319, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001678/0.001678, allocations: 273.8 kB / 292.3 MB, free: 1.832 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9168/0.9168, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 15.03 kB / 0.5993 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002222/0.174, allocations: 1.483 MB / 0.6872 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1756, allocations: 0.9936 MB / 0.6882 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.1757, allocations: 0 / 0.6882 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1763, allocations: 163.9 kB / 0.6883 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1765, allocations: 98.3 kB / 0.6884 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1769, allocations: 154.6 kB / 0.6886 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1772, allocations: 163.6 kB / 0.6887 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1773, allocations: 26.09 kB / 0.6888 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.1774, allocations: 53.45 kB / 0.6888 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1775, allocations: 75.62 kB / 0.6889 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1775, allocations: 0 / 0.6889 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.1776, allocations: 47.97 kB / 0.6889 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.1777, allocations: 36.75 kB / 0.689 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1778, allocations: 81.31 kB / 0.689 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.178, allocations: 156.6 kB / 0.6892 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.178, allocations: 3.938 kB / 0.6892 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.178, allocations: 5.125 kB / 0.6892 GB, free: 11.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.178, allocations: 0 / 0.6892 GB, free: 11.56 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000688/0.1787, allocations: 465.2 kB / 0.6896 GB, free: 11.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1788, allocations: 9.062 kB / 0.6897 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.1788, allocations: 16.75 kB / 0.6897 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1791, allocations: 255 kB / 0.6899 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1791, allocations: 8.344 kB / 0.6899 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1792, allocations: 8.125 kB / 0.6899 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1794, allocations: 95.84 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1794, allocations: 2.625 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1794, allocations: 4 kB / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1794, allocations: 0 / 0.69 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.1795, allocations: 31.98 kB / 0.6901 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.18, allocations: 354.6 kB / 0.6904 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1802, allocations: 75.17 kB / 0.6905 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.1803, allocations: 34.56 kB / 0.6905 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1803, allocations: 4 kB / 0.6905 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.1805, allocations: 80.2 kB / 0.6906 GB, free: 9.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1805, allocations: 0 / 0.6906 GB, free: 9.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003319/0.1808, allocations: 146.1 kB / 0.6907 GB, free: 9.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.1809, allocations: 81.72 kB / 0.6908 GB, free: 9.734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1811, allocations: 264.3 kB / 0.6911 GB, free: 9.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1812, allocations: 29.7 kB / 0.6911 GB, free: 9.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.1812, allocations: 116.1 kB / 0.6912 GB, free: 9.316 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1813, allocations: 24.31 kB / 0.6912 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1813, allocations: 21.98 kB / 0.6912 GB, free: 9.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1814, allocations: 330.8 kB / 0.6916 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.473e-05/0.1815, allocations: 27.98 kB / 0.6916 GB, free: 8.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.1816, allocations: 63.34 kB / 0.6916 GB, free: 8.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1817, allocations: 73.64 kB / 0.6917 GB, free: 8.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1817, allocations: 0 / 0.6917 GB, free: 8.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001896/0.1819, allocations: 121.5 kB / 0.6918 GB, free: 8.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1819, allocations: 4 kB / 0.6918 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.182, allocations: 0 / 0.6918 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.182, allocations: 112 / 0.6918 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.182, allocations: 15.94 kB / 0.6918 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1821, allocations: 3.984 kB / 0.6918 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.1821, allocations: 11.88 kB / 0.6919 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1821, allocations: 8 kB / 0.6919 GB, free: 8.586 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001285/0.1823, allocations: 142.5 kB / 0.692 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1823, allocations: 19.72 kB / 0.692 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.1823, allocations: 21.39 kB / 0.692 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1824, allocations: 4 kB / 0.692 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1824, allocations: 4 kB / 0.692 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1824, allocations: 3.938 kB / 0.6921 GB, free: 8.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.1826, allocations: 221.6 kB / 0.6923 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1826, allocations: 0 / 0.6923 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.1826, allocations: 4 kB / 0.6923 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1826, allocations: 0 / 0.6923 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1826, allocations: 7.984 kB / 0.6923 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1826, allocations: 0 / 0.6923 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1826, allocations: 0 / 0.6923 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1829, allocations: 152.8 kB / 0.6924 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.1829, allocations: 92.91 kB / 0.6925 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.183, allocations: 4 kB / 0.6925 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.183, allocations: 4 kB / 0.6925 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.1831, allocations: 11.98 kB / 0.6925 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1831, allocations: 11.92 kB / 0.6925 GB, free: 7.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.1832, allocations: 192.6 kB / 0.6927 GB, free: 7.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1833, allocations: 0 / 0.6927 GB, free: 7.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002273/0.1835, allocations: 35.98 kB / 0.6928 GB, free: 7.574 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.0009863/0.1845, allocations: 427.2 kB / 0.6932 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1847, allocations: 75.92 kB / 0.6932 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1847, allocations: 0 / 0.6932 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.1848, allocations: 35.92 kB / 0.6933 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.1851, allocations: 31.97 kB / 0.6933 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.1856, allocations: 375.8 kB / 0.6937 GB, free: 6.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1859, allocations: 0.7204 MB / 0.6944 GB, free: 6.027 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.186, allocations: 19.42 kB / 0.6944 GB, free: 6.008 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.186, allocations: 8 kB / 0.6944 GB, free: 6 MB / 494.1 MB Notification: Performance of Templates: time 0.004301/0.1903, allocations: 2.51 MB / 0.6968 GB, free: 3.516 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicatorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1