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.009473/0.009474, allocations: 100.9 kB / 15.87 MB, free: 5.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.001601/0.001601, allocations: 189.5 kB / 16.79 MB, free: 5.809 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.721/1.721, allocations: 205.1 MB / 222.6 MB, free: 4.719 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.813/1.813, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.001402/0.001402, allocations: 68.3 kB / 0.6715 GB, free: 26.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 114.6 MB / 0.7833 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004637/0.3433, allocations: 1.824 MB / 0.7851 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3456, allocations: 1.027 MB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3457, allocations: 3.938 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003917/0.3461, allocations: 51.81 kB / 0.7862 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3463, allocations: 59.81 kB / 0.7862 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.3469, allocations: 182.4 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.3471, allocations: 139.7 kB / 0.7865 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3473, allocations: 25.09 kB / 0.7866 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3474, allocations: 51.72 kB / 0.7866 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.3475, allocations: 63.75 kB / 0.7867 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.3476, allocations: 8 kB / 0.7867 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.3477, allocations: 63.89 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3478, allocations: 35.84 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.3479, allocations: 55.59 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.3482, allocations: 148 kB / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3482, allocations: 0 / 0.787 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3482, allocations: 4 kB / 0.787 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3482, allocations: 0 / 0.787 GB, free: 10.22 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.0008612/0.3491, allocations: 496.2 kB / 0.7874 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.3491, allocations: 16.03 kB / 0.7875 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.3492, allocations: 12.75 kB / 0.7875 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3496, allocations: 245 kB / 0.7877 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3496, allocations: 4.375 kB / 0.7877 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3496, allocations: 12.12 kB / 0.7877 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3499, allocations: 92.16 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3499, allocations: 4 kB / 0.7878 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3499, allocations: 0 / 0.7878 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3499, allocations: 4 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.3501, allocations: 35.98 kB / 0.7878 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.3508, allocations: 364.5 kB / 0.7882 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.351, allocations: 82.66 kB / 0.7883 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.3511, allocations: 36.84 kB / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.3512, allocations: 0 / 0.7883 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.3514, allocations: 83.41 kB / 0.7884 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.3515, allocations: 4 kB / 0.7884 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.3518, allocations: 129.5 kB / 0.7885 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.146e-05/0.3519, allocations: 102.8 kB / 0.7886 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3522, allocations: 279.4 kB / 0.7889 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3523, allocations: 25.7 kB / 0.7889 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3524, allocations: 124 kB / 0.789 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3524, allocations: 15.81 kB / 0.789 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.3525, allocations: 25.7 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3527, allocations: 334.8 kB / 0.7894 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.3528, allocations: 23.98 kB / 0.7894 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3529, allocations: 76.2 kB / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.353, allocations: 65.7 kB / 0.7895 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3531, allocations: 3.938 kB / 0.7895 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002209/0.3533, allocations: 117.7 kB / 0.7897 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3533, allocations: 4 kB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3533, allocations: 0 / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3534, allocations: 8.031 kB / 0.7897 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.3535, allocations: 8 kB / 0.7897 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.3535, allocations: 8.062 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.3536, allocations: 15.84 kB / 0.7897 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.3536, allocations: 4 kB / 0.7897 GB, free: 7.145 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 ($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.0001401/0.3537, allocations: 154.4 kB / 0.7898 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3538, allocations: 19.81 kB / 0.7899 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3538, allocations: 17.39 kB / 0.7899 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.3539, allocations: 4 kB / 0.7899 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3539, allocations: 4 kB / 0.7899 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3539, allocations: 3.938 kB / 0.7899 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3541, allocations: 221.5 kB / 0.7901 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3541, allocations: 0 / 0.7901 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.3541, allocations: 8 kB / 0.7901 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3542, allocations: 0 / 0.7901 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3542, allocations: 3.984 kB / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3542, allocations: 0 / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3542, allocations: 0 / 0.7901 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3545, allocations: 152.8 kB / 0.7903 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.3545, allocations: 89.02 kB / 0.7903 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3546, allocations: 4 kB / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.3546, allocations: 0 / 0.7903 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.3547, allocations: 11.98 kB / 0.7904 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3547, allocations: 8.125 kB / 0.7904 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001834/0.3549, allocations: 196.6 kB / 0.7906 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3549, allocations: 3.938 kB / 0.7906 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002434/0.3552, allocations: 39.91 kB / 0.7906 GB, free: 6.125 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 (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.001111/0.3563, allocations: 426 kB / 0.791 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.3565, allocations: 67.91 kB / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3565, allocations: 0 / 0.7911 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3567, allocations: 39.97 kB / 0.7911 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.357, allocations: 31.92 kB / 0.7911 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.3577, allocations: 354.4 kB / 0.7915 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.3582, allocations: 0.7281 MB / 0.7922 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.3582, allocations: 23.42 kB / 0.7922 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3582, allocations: 0 / 0.7922 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of Templates: time 0.005297/0.3635, allocations: 2.587 MB / 0.7947 GB, free: 1.996 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++ -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 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