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.001988/0.001988, allocations: 100.1 kB / 15.88 MB, free: 12 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.00322/0.00322, allocations: 195.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.721/2.721, allocations: 222.9 MB / 240.4 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004129/0.004129, allocations: 290.8 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.997/1.997, allocations: 169.2 MB / 0.4983 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002969/0.002969, allocations: 92.95 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.365, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.008101/0.3733, allocations: 1.821 MB / 0.6819 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.3766, allocations: 1.095 MB / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3768, allocations: 0 / 0.6829 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.3775, allocations: 59.8 kB / 0.683 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004994/0.378, allocations: 67.75 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3791, allocations: 198 kB / 0.6832 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.3795, allocations: 131.7 kB / 0.6834 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3797, allocations: 25.09 kB / 0.6834 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3799, allocations: 55.72 kB / 0.6834 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.3801, allocations: 65.8 kB / 0.6835 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.3802, allocations: 4 kB / 0.6835 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.3804, allocations: 63.89 kB / 0.6836 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3806, allocations: 39.84 kB / 0.6836 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.3807, allocations: 47.67 kB / 0.6837 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.3811, allocations: 156.6 kB / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3812, allocations: 0 / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3812, allocations: 1.719 kB / 0.6838 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.3812, allocations: 0 / 0.6838 GB, free: 13.38 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.001329/0.3825, allocations: 488.3 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.767e-05/0.3826, allocations: 12.84 kB / 0.6843 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.3828, allocations: 16.75 kB / 0.6843 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.3834, allocations: 254.2 kB / 0.6845 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.3835, allocations: 5.688 kB / 0.6845 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.3835, allocations: 8.125 kB / 0.6846 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.3839, allocations: 96.86 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.384, allocations: 0.625 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.384, allocations: 4 kB / 0.6846 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.3841, allocations: 8 kB / 0.6847 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.3843, allocations: 31.97 kB / 0.6847 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.3854, allocations: 360.5 kB / 0.685 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.3858, allocations: 86.66 kB / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.3859, allocations: 36.84 kB / 0.6851 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.386, allocations: 0 / 0.6851 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00046/0.3865, allocations: 87.41 kB / 0.6852 GB, free: 11.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.3865, allocations: 0 / 0.6852 GB, free: 11.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.3871, allocations: 137.5 kB / 0.6854 GB, free: 11.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.3872, allocations: 110.8 kB / 0.6855 GB, free: 11.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.3878, allocations: 259 kB / 0.6857 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.3878, allocations: 33.7 kB / 0.6857 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.388, allocations: 112.1 kB / 0.6859 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.3881, allocations: 27.64 kB / 0.6859 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.3882, allocations: 25.7 kB / 0.6859 GB, free: 10.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003115/0.3885, allocations: 330.8 kB / 0.6862 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3886, allocations: 27.98 kB / 0.6862 GB, free: 10.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.3888, allocations: 76.22 kB / 0.6863 GB, free: 10.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.389, allocations: 73.98 kB / 0.6864 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.389, allocations: 0 / 0.6864 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003745/0.3894, allocations: 117.4 kB / 0.6865 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.3895, allocations: 6.188 kB / 0.6865 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3895, allocations: 0 / 0.6865 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.3895, allocations: 0 / 0.6865 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3897, allocations: 20.02 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.3897, allocations: 3.938 kB / 0.6865 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3898, allocations: 7.938 kB / 0.6865 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.3899, allocations: 8 kB / 0.6865 GB, free: 10.3 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.0003028/0.3902, allocations: 138.4 kB / 0.6867 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.3902, allocations: 19.8 kB / 0.6867 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.952e-05/0.3903, allocations: 17.41 kB / 0.6867 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.3904, allocations: 48 / 0.6867 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.3904, allocations: 12.17 kB / 0.6867 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3904, allocations: 3.938 kB / 0.6867 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005505/0.391, allocations: 221.5 kB / 0.6869 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.391, allocations: 3.984 kB / 0.6869 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.3911, allocations: 4 kB / 0.6869 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3911, allocations: 0 / 0.6869 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3911, allocations: 4 kB / 0.687 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3911, allocations: 0 / 0.687 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3911, allocations: 0 / 0.687 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3916, allocations: 152.8 kB / 0.6871 GB, free: 9.656 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.3917, allocations: 92.86 kB / 0.6872 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.3918, allocations: 3.984 kB / 0.6872 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.3918, allocations: 12 kB / 0.6872 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.966e-05/0.3919, allocations: 7.984 kB / 0.6872 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.392, allocations: 7.938 kB / 0.6872 GB, free: 9.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.3923, allocations: 192.6 kB / 0.6874 GB, free: 9.328 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3923, allocations: 0 / 0.6874 GB, free: 9.328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004422/0.3928, allocations: 39.92 kB / 0.6874 GB, free: 9.289 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.001908/0.3947, allocations: 427.4 kB / 0.6878 GB, free: 9.023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.3951, allocations: 67.91 kB / 0.6879 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3951, allocations: 4 kB / 0.6879 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3952, allocations: 31.98 kB / 0.6879 GB, free: 8.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.3957, allocations: 31.97 kB / 0.688 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009581/0.3967, allocations: 354.4 kB / 0.6883 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.3973, allocations: 0.7282 MB / 0.689 GB, free: 7.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.3974, allocations: 23.42 kB / 0.689 GB, free: 7.738 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3974, allocations: 4 kB / 0.6891 GB, free: 7.734 MB / 494.1 MB Notification: Performance of Templates: time 0.008864/0.4062, allocations: 2.591 MB / 0.6916 GB, free: 5.164 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