Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0008533/0.0008536, allocations: 102.6 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.00119/0.00119, allocations: 176.6 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.7 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.837/1.837, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000521/0.000521, allocations: 14.19 kB / 0.6743 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2739, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003094/0.277, allocations: 1.455 MB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.2792, allocations: 0.9457 MB / 0.7903 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.2794, allocations: 0 / 0.7903 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000386/0.2798, allocations: 59.78 kB / 0.7903 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.2801, allocations: 59.75 kB / 0.7904 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006886/0.2808, allocations: 179 kB / 0.7905 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000287/0.2811, allocations: 119.6 kB / 0.7907 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2813, allocations: 21.11 kB / 0.7907 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.2814, allocations: 51.77 kB / 0.7907 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2816, allocations: 59.75 kB / 0.7908 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.2816, allocations: 0 / 0.7908 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.2818, allocations: 51.91 kB / 0.7908 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.2819, allocations: 31.91 kB / 0.7909 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.794e-05/0.2819, allocations: 53.64 kB / 0.7909 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.2822, allocations: 148 kB / 0.7911 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2822, allocations: 0 / 0.7911 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2823, allocations: 0 / 0.7911 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.2823, allocations: 0 / 0.7911 GB, free: 8.727 MB / 0.6075 GB 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.0007898/0.2831, allocations: 476.2 kB / 0.7915 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2831, allocations: 12.03 kB / 0.7915 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.2832, allocations: 19.77 kB / 0.7915 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.2835, allocations: 239.7 kB / 0.7918 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.2836, allocations: 4 kB / 0.7918 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2836, allocations: 4 kB / 0.7918 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.2838, allocations: 100.1 kB / 0.7919 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2839, allocations: 0 / 0.7919 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2839, allocations: 4 kB / 0.7919 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.2839, allocations: 0 / 0.7919 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.284, allocations: 35.97 kB / 0.7919 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.2846, allocations: 356.6 kB / 0.7923 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.2849, allocations: 86.66 kB / 0.7923 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.332e-05/0.285, allocations: 36.84 kB / 0.7924 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.285, allocations: 0 / 0.7924 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.2853, allocations: 87.39 kB / 0.7925 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.547e-06/0.2853, allocations: 0 / 0.7925 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.2857, allocations: 145.3 kB / 0.7926 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.2857, allocations: 102.8 kB / 0.7927 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.2861, allocations: 267.5 kB / 0.7929 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2861, allocations: 25.7 kB / 0.793 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2862, allocations: 124.1 kB / 0.7931 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.2862, allocations: 19.7 kB / 0.7931 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.2863, allocations: 4 kB / 0.7931 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.2864, allocations: 326.8 kB / 0.7934 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.2865, allocations: 23.92 kB / 0.7934 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.2866, allocations: 72.27 kB / 0.7935 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.816e-05/0.2867, allocations: 40.3 kB / 0.7936 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2867, allocations: 0 / 0.7936 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002281/0.287, allocations: 113.4 kB / 0.7937 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.287, allocations: 6.812 kB / 0.7937 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.287, allocations: 4 kB / 0.7937 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.287, allocations: 4.031 kB / 0.7937 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.2871, allocations: 19.97 kB / 0.7937 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2872, allocations: 4 kB / 0.7937 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.2872, allocations: 7.938 kB / 0.7937 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2872, allocations: 0 / 0.7937 GB, free: 5.746 MB / 0.6075 GB 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.0001603/0.2874, allocations: 150.4 kB / 0.7939 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.2874, allocations: 15.81 kB / 0.7939 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.2875, allocations: 21.39 kB / 0.7939 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.2875, allocations: 3.953 kB / 0.7939 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2875, allocations: 4.188 kB / 0.7939 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2875, allocations: 0 / 0.7939 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.2878, allocations: 229.4 kB / 0.7941 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2878, allocations: 4 kB / 0.7941 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.2879, allocations: 11.98 kB / 0.7941 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2879, allocations: 0 / 0.7941 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2879, allocations: 0 / 0.7941 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2879, allocations: 0 / 0.7941 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2879, allocations: 11.89 kB / 0.7941 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2882, allocations: 144.8 kB / 0.7943 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.2883, allocations: 89.02 kB / 0.7944 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.2883, allocations: 7.984 kB / 0.7944 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.2884, allocations: 4 kB / 0.7944 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.2884, allocations: 7.984 kB / 0.7944 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2884, allocations: 3.953 kB / 0.7944 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001917/0.2886, allocations: 196.6 kB / 0.7946 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2887, allocations: 0 / 0.7946 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002743/0.2889, allocations: 39.89 kB / 0.7946 GB, free: 4.723 MB / 0.6075 GB 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.00106/0.29, allocations: 424.7 kB / 0.795 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2902, allocations: 71.89 kB / 0.7951 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2903, allocations: 0 / 0.7951 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2904, allocations: 31.98 kB / 0.7951 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2907, allocations: 31.97 kB / 0.7951 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.2914, allocations: 343.8 kB / 0.7955 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.2918, allocations: 0.7282 MB / 0.7962 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2918, allocations: 23.42 kB / 0.7962 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2918, allocations: 0 / 0.7962 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.006177/0.298, allocations: 2.577 MB / 0.7987 GB, free: 0.6172 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1