Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 92.16 kB / 16.02 MB, free: 80 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.001437/0.001437, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.858/1.858, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.854/1.854, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0005465/0.0005466, allocations: 17.33 kB / 0.675 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3188, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002376/0.3213, allocations: 1.497 MB / 0.79 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3229, allocations: 0.9141 MB / 0.7909 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.323, allocations: 0 / 0.7909 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.3236, allocations: 159.7 kB / 0.791 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.3239, allocations: 107.7 kB / 0.7911 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3243, allocations: 123 kB / 0.7913 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3245, allocations: 167.6 kB / 0.7914 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3246, allocations: 29.08 kB / 0.7914 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3247, allocations: 59.66 kB / 0.7915 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.3249, allocations: 63.75 kB / 0.7916 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3249, allocations: 4 kB / 0.7916 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.325, allocations: 51.91 kB / 0.7916 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.3251, allocations: 43.83 kB / 0.7917 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.3252, allocations: 77.31 kB / 0.7917 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.3254, allocations: 144 kB / 0.7919 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3255, allocations: 0 / 0.7919 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.198e-06/0.3255, allocations: 0 / 0.7919 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3255, allocations: 0 / 0.7919 GB, free: 8.148 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007272/0.3262, allocations: 476.5 kB / 0.7923 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3263, allocations: 12.03 kB / 0.7923 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.469e-05/0.3263, allocations: 16.66 kB / 0.7923 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3267, allocations: 252.8 kB / 0.7926 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3267, allocations: 4.375 kB / 0.7926 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3267, allocations: 8.125 kB / 0.7926 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3269, allocations: 99.25 kB / 0.7927 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3269, allocations: 0 / 0.7927 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.3269, allocations: 0 / 0.7927 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.327, allocations: 4 kB / 0.7927 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.3271, allocations: 31.98 kB / 0.7927 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3276, allocations: 352.6 kB / 0.7931 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3278, allocations: 82.61 kB / 0.7931 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.3279, allocations: 32.86 kB / 0.7932 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3279, allocations: 0 / 0.7932 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3281, allocations: 83.31 kB / 0.7933 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.3281, allocations: 0 / 0.7933 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003421/0.3285, allocations: 145.4 kB / 0.7934 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.3285, allocations: 77.11 kB / 0.7935 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3288, allocations: 271.4 kB / 0.7937 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3289, allocations: 25.7 kB / 0.7938 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.219e-05/0.3289, allocations: 116.1 kB / 0.7939 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.329, allocations: 27.75 kB / 0.7939 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.329, allocations: 25.64 kB / 0.7939 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3292, allocations: 330.8 kB / 0.7942 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.3292, allocations: 35.92 kB / 0.7943 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.3293, allocations: 55.42 kB / 0.7943 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.3295, allocations: 69.69 kB / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3295, allocations: 0 / 0.7944 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002079/0.3297, allocations: 117.8 kB / 0.7945 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3297, allocations: 8.062 kB / 0.7945 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3297, allocations: 0 / 0.7945 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3298, allocations: 7.938 kB / 0.7945 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.387e-05/0.3298, allocations: 11.94 kB / 0.7945 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3299, allocations: 0 / 0.7945 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.3299, allocations: 19.83 kB / 0.7945 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3299, allocations: 4 kB / 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001544/0.3301, allocations: 141.8 kB / 0.7947 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.3301, allocations: 23.81 kB / 0.7947 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.3302, allocations: 21.39 kB / 0.7947 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3302, allocations: 4 kB / 0.7947 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3302, allocations: 0 / 0.7947 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3302, allocations: 3.938 kB / 0.7947 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3305, allocations: 217.6 kB / 0.7949 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3305, allocations: 0 / 0.7949 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.3305, allocations: 7.938 kB / 0.7949 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3306, allocations: 0 / 0.7949 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3306, allocations: 4 kB / 0.7949 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3306, allocations: 4 kB / 0.795 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3306, allocations: 11.97 kB / 0.795 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3308, allocations: 140.9 kB / 0.7951 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.3309, allocations: 96.91 kB / 0.7952 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.331, allocations: 7.938 kB / 0.7952 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.331, allocations: 4 kB / 0.7952 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.3311, allocations: 7.922 kB / 0.7952 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3311, allocations: 11.94 kB / 0.7952 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002164/0.3313, allocations: 192.6 kB / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 0.7954 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002488/0.3316, allocations: 35.98 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001198/0.3328, allocations: 423.5 kB / 0.7958 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.333, allocations: 79.89 kB / 0.7959 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.333, allocations: 4.062 kB / 0.7959 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.3331, allocations: 31.98 kB / 0.796 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3335, allocations: 38.81 kB / 0.796 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.3341, allocations: 371.8 kB / 0.7963 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.3346, allocations: 0.7204 MB / 0.797 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.3346, allocations: 19.44 kB / 0.7971 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/0.3346, allocations: 0 / 0.7971 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.005302/0.3399, allocations: 2.525 MB / 0.7995 GB, free: 44 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicatorCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1