Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001038/0.001038, allocations: 94.25 kB / 16.33 MB, free: 6.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 189.8 kB / 17.23 MB, free: 6.699 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.493/1.493, allocations: 223.2 MB / 241.2 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 114.4 MB / 406.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 17.69 kB / 494.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 77.27 MB / 0.5583 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002488/0.184, allocations: 1.447 MB / 0.5597 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.186, allocations: 1.011 MB / 0.5607 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1862, allocations: 0 / 0.5607 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.1866, allocations: 47.81 kB / 0.5608 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1869, allocations: 71.72 kB / 0.5608 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.1878, allocations: 182.7 kB / 0.561 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.188, allocations: 119.7 kB / 0.5611 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1881, allocations: 17.11 kB / 0.5611 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.1883, allocations: 59.7 kB / 0.5612 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1884, allocations: 55.75 kB / 0.5612 GB, free: 7.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1885, allocations: 4 kB / 0.5613 GB, free: 7.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1887, allocations: 55.97 kB / 0.5613 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.1888, allocations: 35.83 kB / 0.5613 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.1889, allocations: 45.64 kB / 0.5614 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1891, allocations: 144 kB / 0.5615 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1892, allocations: 0 / 0.5615 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1892, allocations: 0 / 0.5615 GB, free: 7.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1892, allocations: 0 / 0.5615 GB, free: 7.664 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007977/0.19, allocations: 476.3 kB / 0.562 GB, free: 7.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1901, allocations: 12.02 kB / 0.562 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.1901, allocations: 15.81 kB / 0.562 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.1905, allocations: 243.7 kB / 0.5622 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1905, allocations: 3.984 kB / 0.5622 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1905, allocations: 8 kB / 0.5622 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1908, allocations: 96.17 kB / 0.5623 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1908, allocations: 3.953 kB / 0.5623 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1908, allocations: 0 / 0.5623 GB, free: 6.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.1909, allocations: 4 kB / 0.5623 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.191, allocations: 39.97 kB / 0.5624 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1916, allocations: 352.8 kB / 0.5627 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1918, allocations: 98.55 kB / 0.5628 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.1919, allocations: 28.84 kB / 0.5628 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.1919, allocations: 7.984 kB / 0.5628 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.1922, allocations: 83.31 kB / 0.5629 GB, free: 6.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/0.1922, allocations: 0 / 0.5629 GB, free: 6.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003648/0.1925, allocations: 149.4 kB / 0.5631 GB, free: 5.883 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.1926, allocations: 110.8 kB / 0.5632 GB, free: 5.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.1929, allocations: 263.5 kB / 0.5634 GB, free: 5.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1929, allocations: 29.7 kB / 0.5635 GB, free: 5.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.1931, allocations: 112.1 kB / 0.5636 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1931, allocations: 23.7 kB / 0.5636 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.1932, allocations: 0 / 0.5636 GB, free: 5.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1933, allocations: 326.8 kB / 0.5639 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.1934, allocations: 31.98 kB / 0.5639 GB, free: 4.953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.1935, allocations: 72.2 kB / 0.564 GB, free: 4.867 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.1936, allocations: 27.98 kB / 0.564 GB, free: 4.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.1936, allocations: 3.953 kB / 0.564 GB, free: 4.836 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.1938, allocations: 109.4 kB / 0.5641 GB, free: 4.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1938, allocations: 12.03 kB / 0.5641 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1938, allocations: 0 / 0.5641 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1939, allocations: 0 / 0.5641 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.194, allocations: 12 kB / 0.5642 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.194, allocations: 3.984 kB / 0.5642 GB, free: 4.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.194, allocations: 15.92 kB / 0.5642 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1941, allocations: 4 kB / 0.5642 GB, free: 4.676 MB / 430.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 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.y,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1942, allocations: 139.2 kB / 0.5643 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1943, allocations: 19.77 kB / 0.5643 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.1943, allocations: 29.39 kB / 0.5644 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1943, allocations: 0 / 0.5644 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1943, allocations: 4 kB / 0.5644 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1943, allocations: 0 / 0.5644 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.1945, allocations: 213.6 kB / 0.5646 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1946, allocations: 0 / 0.5646 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.1946, allocations: 15.88 kB / 0.5646 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1946, allocations: 0 / 0.5646 GB, free: 4.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1946, allocations: 8 kB / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1946, allocations: 0 / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1947, allocations: 0 / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1949, allocations: 144.8 kB / 0.5647 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.195, allocations: 93.11 kB / 0.5648 GB, free: 3.926 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.195, allocations: 7.953 kB / 0.5648 GB, free: 3.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.1951, allocations: 15.92 kB / 0.5648 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.1951, allocations: 7.984 kB / 0.5648 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1952, allocations: 8 kB / 0.5649 GB, free: 3.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.1954, allocations: 196.4 kB / 0.565 GB, free: 3.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1954, allocations: 0 / 0.565 GB, free: 3.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1956, allocations: 32 kB / 0.5651 GB, free: 3.664 MB / 430.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 (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.001033/0.1967, allocations: 426.6 kB / 0.5655 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1969, allocations: 63.97 kB / 0.5655 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1969, allocations: 0 / 0.5655 GB, free: 3.355 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.197, allocations: 35.92 kB / 0.5656 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1973, allocations: 43.97 kB / 0.5656 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.1979, allocations: 347.6 kB / 0.5659 GB, free: 2.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1982, allocations: 0.7246 MB / 0.5667 GB, free: 2.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1982, allocations: 19.44 kB / 0.5667 GB, free: 2.141 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1982, allocations: 0 / 0.5667 GB, free: 2.141 MB / 430.1 MB Notification: Performance of Templates: time 0.005107/0.2033, allocations: 2.581 MB / 0.5692 GB, free: 15.58 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicator.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 OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1