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.0009556/0.0009553, allocations: 99.58 kB / 16.02 MB, free: 76 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.001333/0.001333, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.833/1.833, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.834/1.834, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005388/0.0005389, allocations: 13.69 kB / 0.675 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3408, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.0026/0.3435, allocations: 1.478 MB / 0.79 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3454, allocations: 1.004 MB / 0.791 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.3455, allocations: 3.938 kB / 0.791 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.3459, allocations: 43.88 kB / 0.791 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3462, allocations: 83.66 kB / 0.7911 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.3468, allocations: 178.7 kB / 0.7913 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.347, allocations: 127.7 kB / 0.7914 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3472, allocations: 25.09 kB / 0.7914 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3473, allocations: 51.72 kB / 0.7914 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3474, allocations: 59.75 kB / 0.7915 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3474, allocations: 0 / 0.7915 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3476, allocations: 63.89 kB / 0.7916 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.106e-05/0.3477, allocations: 39.84 kB / 0.7916 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.3478, allocations: 81.36 kB / 0.7917 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.348, allocations: 147.9 kB / 0.7918 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.348, allocations: 0 / 0.7918 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3481, allocations: 0 / 0.7918 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3481, allocations: 0 / 0.7918 GB, free: 8.188 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.0007878/0.3489, allocations: 464.5 kB / 0.7923 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3489, allocations: 8.031 kB / 0.7923 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.349, allocations: 16.75 kB / 0.7923 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3494, allocations: 256.7 kB / 0.7925 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3494, allocations: 4.375 kB / 0.7925 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3494, allocations: 8.125 kB / 0.7925 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3497, allocations: 100.2 kB / 0.7926 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3497, allocations: 0 / 0.7926 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.3497, allocations: 0 / 0.7926 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3497, allocations: 7.938 kB / 0.7926 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3499, allocations: 27.98 kB / 0.7927 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.3504, allocations: 364.6 kB / 0.793 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3507, allocations: 94.66 kB / 0.7931 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.3508, allocations: 32.84 kB / 0.7931 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3508, allocations: 0 / 0.7931 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.351, allocations: 83.36 kB / 0.7932 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.351, allocations: 0 / 0.7932 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000365/0.3514, allocations: 141.5 kB / 0.7934 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/0.3515, allocations: 106.8 kB / 0.7935 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3518, allocations: 271.3 kB / 0.7937 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3518, allocations: 29.7 kB / 0.7937 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.3519, allocations: 120.1 kB / 0.7939 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3519, allocations: 11.81 kB / 0.7939 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.352, allocations: 21.7 kB / 0.7939 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3521, allocations: 330.8 kB / 0.7942 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.3522, allocations: 23.98 kB / 0.7942 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3523, allocations: 76.2 kB / 0.7943 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.3525, allocations: 65.7 kB / 0.7944 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3525, allocations: 0 / 0.7944 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002114/0.3527, allocations: 113.4 kB / 0.7945 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3527, allocations: 4 kB / 0.7945 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3527, allocations: 4 kB / 0.7945 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3528, allocations: 192 / 0.7945 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.3529, allocations: 15.98 kB / 0.7945 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3529, allocations: 3.938 kB / 0.7945 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.353, allocations: 23.8 kB / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.353, allocations: 0 / 0.7945 GB, free: 5.137 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.0001463/0.3531, allocations: 154.4 kB / 0.7947 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.3532, allocations: 15.81 kB / 0.7947 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.3532, allocations: 21.44 kB / 0.7947 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3532, allocations: 0 / 0.7947 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3533, allocations: 3.938 kB / 0.7947 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3533, allocations: 7.922 kB / 0.7947 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3535, allocations: 221.6 kB / 0.7949 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3535, allocations: 4 kB / 0.7949 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.3535, allocations: 4 kB / 0.7949 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3535, allocations: 0 / 0.7949 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3536, allocations: 0 / 0.7949 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3536, allocations: 4 kB / 0.7949 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3536, allocations: 0 / 0.7949 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.3538, allocations: 140.8 kB / 0.7951 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.3539, allocations: 100.9 kB / 0.7952 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3539, allocations: 4 kB / 0.7952 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.354, allocations: 8 kB / 0.7952 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.3541, allocations: 11.92 kB / 0.7952 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3541, allocations: 7.938 kB / 0.7952 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002271/0.3543, allocations: 196.6 kB / 0.7954 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3543, allocations: 0 / 0.7954 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002489/0.3546, allocations: 32 kB / 0.7954 GB, free: 4.121 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.00109/0.3557, allocations: 435.4 kB / 0.7958 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3559, allocations: 63.97 kB / 0.7959 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3559, allocations: 0 / 0.7959 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.356, allocations: 43.91 kB / 0.7959 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.3563, allocations: 35.33 kB / 0.796 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.3569, allocations: 359.8 kB / 0.7963 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3573, allocations: 0.7243 MB / 0.797 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.3573, allocations: 23.42 kB / 0.797 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3573, allocations: 0 / 0.797 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.004924/0.3623, allocations: 2.565 MB / 0.7995 GB, free: 4 kB / 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