Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_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.001065/0.001065, allocations: 99.52 kB / 15.71 MB, free: 452 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.001424/0.001424, allocations: 175.8 kB / 16.58 MB, free: 6.422 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12 kB / 0.8717 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8914/0.8918, allocations: 153.7 MB / 1.022 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002441/0.8943, allocations: 1.458 MB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.8961, allocations: 1.019 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.8962, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.8966, allocations: 47.81 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.8968, allocations: 63.8 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005841/0.8974, allocations: 186.7 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.8976, allocations: 127.6 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.8977, allocations: 13.11 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.8978, allocations: 55.72 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.8979, allocations: 55.75 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.8979, allocations: 8 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.8981, allocations: 59.89 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.8982, allocations: 27.91 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.8982, allocations: 45.64 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.8985, allocations: 145.7 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8985, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8985, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.8985, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.7794 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.000685/0.8992, allocations: 476.2 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8992, allocations: 15.98 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.8993, allocations: 19.81 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.8996, allocations: 231.8 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.8996, allocations: 8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.8996, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.8999, allocations: 104.1 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.8999, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.8999, allocations: 8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.8999, allocations: 4 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.9, allocations: 27.98 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.9006, allocations: 360.6 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.9008, allocations: 90.59 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.9009, allocations: 36.84 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.9009, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.9012, allocations: 83.41 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.9012, allocations: 0 / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0003462/0.9015, allocations: 133.5 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.9016, allocations: 114.8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.9019, allocations: 259 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.9019, allocations: 29.7 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.902, allocations: 116 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.902, allocations: 23.73 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.9021, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9022, allocations: 330.8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.937e-05/0.9023, allocations: 31.92 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.9024, allocations: 72.27 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/0.9025, allocations: 32.27 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9025, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002161/0.9027, allocations: 117.4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9027, allocations: 7.984 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.9027, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.9027, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.9028, allocations: 16 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9029, allocations: 4.031 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.9029, allocations: 7.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.903, allocations: 4 kB / 1.028 GB, free: 10.84 MB / 0.7794 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.0001419/0.9031, allocations: 157.7 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.9031, allocations: 11.81 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.9032, allocations: 21.39 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9032, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9032, allocations: 0 / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9032, allocations: 4 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.9034, allocations: 229.4 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.9035, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.9035, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9035, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9035, allocations: 3.984 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9035, allocations: 192 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.9035, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.9038, allocations: 152.8 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.992e-05/0.9039, allocations: 100.9 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.9039, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.904, allocations: 3.984 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.904, allocations: 8 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.904, allocations: 7.984 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002391/0.9043, allocations: 192.6 kB / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9043, allocations: 0 / 1.028 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002598/0.9045, allocations: 35.98 kB / 1.028 GB, free: 9.824 MB / 0.7794 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.001023/0.9056, allocations: 422.6 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.9058, allocations: 75.84 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9058, allocations: 0 / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.9059, allocations: 31.98 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.9062, allocations: 43.34 kB / 1.029 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/0.9068, allocations: 343.7 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.9071, allocations: 0.7282 MB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.9071, allocations: 15.44 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of SimCode: time 1.674e-06/0.9071, allocations: 0 / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of Templates: time 0.00469/0.9118, allocations: 2.585 MB / 1.033 GB, free: 5.707 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicatorCalcHelperMain.o] Error 1