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.0009585/0.0009586, allocations: 103 kB / 15.71 MB, free: 460 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.00144/0.00144, allocations: 179.9 kB / 16.58 MB, free: 6.402 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.907/1.907, allocations: 205.4 MB / 222.8 MB, free: 5.648 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.758/1.758, allocations: 292.7 MB / 0.5505 GB, free: 14.58 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.0007381/0.0007381, allocations: 21.25 kB / 0.6744 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3162, allocations: 116.3 MB / 0.7879 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002342/0.3186, allocations: 1.467 MB / 0.7893 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3202, allocations: 0.8756 MB / 0.7902 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3203, allocations: 0 / 0.7902 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.321, allocations: 159.3 kB / 0.7904 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.3213, allocations: 95.7 kB / 0.7904 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.3218, allocations: 123.7 kB / 0.7906 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.322, allocations: 151.6 kB / 0.7907 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.3222, allocations: 21.05 kB / 0.7907 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3223, allocations: 63.7 kB / 0.7908 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3224, allocations: 59.75 kB / 0.7908 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.3224, allocations: 4 kB / 0.7909 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3226, allocations: 51.95 kB / 0.7909 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.3227, allocations: 35.84 kB / 0.7909 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.3227, allocations: 49.64 kB / 0.791 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.323, allocations: 144 kB / 0.7911 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.323, allocations: 0 / 0.7911 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.595e-06/0.323, allocations: 0 / 0.7911 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.323, allocations: 0 / 0.7911 GB, free: 8.691 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.0008521/0.3239, allocations: 480.3 kB / 0.7916 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3239, allocations: 8.031 kB / 0.7916 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.324, allocations: 23.67 kB / 0.7916 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.3244, allocations: 235.7 kB / 0.7918 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3245, allocations: 11.98 kB / 0.7918 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3245, allocations: 4 kB / 0.7918 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.3247, allocations: 83.39 kB / 0.7919 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3247, allocations: 0 / 0.7919 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3248, allocations: 7.984 kB / 0.7919 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.3248, allocations: 4 kB / 0.7919 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3249, allocations: 35.92 kB / 0.792 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.3255, allocations: 348.7 kB / 0.7923 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.3257, allocations: 78.61 kB / 0.7924 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.067e-05/0.3258, allocations: 32.84 kB / 0.7924 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.3259, allocations: 4 kB / 0.7924 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.3261, allocations: 79.48 kB / 0.7925 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.3262, allocations: 3.938 kB / 0.7925 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005363/0.3267, allocations: 153.6 kB / 0.7926 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/0.3268, allocations: 77.11 kB / 0.7927 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.3273, allocations: 267.4 kB / 0.793 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.3273, allocations: 29.7 kB / 0.793 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.3275, allocations: 116 kB / 0.7931 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3275, allocations: 27.64 kB / 0.7931 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.3276, allocations: 8 kB / 0.7931 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.3278, allocations: 326.8 kB / 0.7935 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.3278, allocations: 31.98 kB / 0.7935 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.3279, allocations: 59.36 kB / 0.7935 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.328, allocations: 31.98 kB / 0.7936 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.328, allocations: 0 / 0.7936 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002037/0.3282, allocations: 117.4 kB / 0.7937 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3283, allocations: 6.875 kB / 0.7937 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3283, allocations: 4 kB / 0.7937 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3283, allocations: 3.953 kB / 0.7937 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.337e-05/0.3284, allocations: 12 kB / 0.7937 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3284, allocations: 0 / 0.7937 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.163e-05/0.3285, allocations: 11.98 kB / 0.7937 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3285, allocations: 4 kB / 0.7937 GB, free: 5.766 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001568/0.3287, allocations: 141.8 kB / 0.7939 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3287, allocations: 19.81 kB / 0.7939 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.3288, allocations: 17.41 kB / 0.7939 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.3288, allocations: 3.984 kB / 0.7939 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3288, allocations: 3.953 kB / 0.7939 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3288, allocations: 0 / 0.7939 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.3291, allocations: 233.4 kB / 0.7941 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3291, allocations: 0 / 0.7941 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.3291, allocations: 4 kB / 0.7941 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3291, allocations: 3.938 kB / 0.7941 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3291, allocations: 0 / 0.7941 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3291, allocations: 96 / 0.7941 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3292, allocations: 7.938 kB / 0.7941 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3294, allocations: 152.8 kB / 0.7943 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-05/0.3295, allocations: 96.91 kB / 0.7944 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.3295, allocations: 0 / 0.7944 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.3296, allocations: 8 kB / 0.7944 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.3296, allocations: 7.984 kB / 0.7944 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3297, allocations: 4 kB / 0.7944 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001918/0.3299, allocations: 196.5 kB / 0.7946 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3299, allocations: 0 / 0.7946 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002624/0.3301, allocations: 27.98 kB / 0.7946 GB, free: 4.758 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 (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.001044/0.3312, allocations: 428.4 kB / 0.795 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3314, allocations: 75.89 kB / 0.7951 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3314, allocations: 0 / 0.7951 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.3316, allocations: 51.92 kB / 0.7951 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3319, allocations: 32.62 kB / 0.7952 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.3325, allocations: 347.9 kB / 0.7955 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3328, allocations: 0.7204 MB / 0.7962 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3329, allocations: 19.42 kB / 0.7962 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.3329, allocations: 0 / 0.7962 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.004892/0.3378, allocations: 2.532 MB / 0.7987 GB, free: 0.6836 MB / 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++ 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_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