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.01051/0.01051, allocations: 101.1 kB / 15.88 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.001703/0.001703, allocations: 190.1 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.836/1.836, allocations: 205.1 MB / 222.6 MB, free: 4.707 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.3 MB / 0.5491 GB, free: 13.64 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.002382/0.002382, allocations: 67.89 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2881, allocations: 114.6 MB / 0.7833 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003307/0.2915, allocations: 1.84 MB / 0.7851 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.293, allocations: 0.9257 MB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.2931, allocations: 7.938 kB / 0.786 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.2937, allocations: 151.7 kB / 0.7862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.294, allocations: 107.7 kB / 0.7863 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.2944, allocations: 135.2 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000199/0.2946, allocations: 167.6 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2947, allocations: 21.06 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.2948, allocations: 59.69 kB / 0.7866 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.295, allocations: 71.75 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.295, allocations: 0 / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2951, allocations: 59.91 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.2952, allocations: 39.84 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.2953, allocations: 55.59 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.2955, allocations: 143.9 kB / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2955, allocations: 0 / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2955, allocations: 0 / 0.787 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2955, allocations: 0 / 0.787 GB, free: 10.19 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.0007756/0.2963, allocations: 0.4925 MB / 0.7875 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2964, allocations: 12.03 kB / 0.7875 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.2964, allocations: 12.75 kB / 0.7875 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.2967, allocations: 248.8 kB / 0.7877 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.2968, allocations: 8.375 kB / 0.7878 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.2968, allocations: 8.125 kB / 0.7878 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.297, allocations: 91.31 kB / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.297, allocations: 0 / 0.7878 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.297, allocations: 7.984 kB / 0.7879 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2971, allocations: 4 kB / 0.7879 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.428e-05/0.2972, allocations: 27.98 kB / 0.7879 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.2977, allocations: 352.7 kB / 0.7882 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.298, allocations: 74.72 kB / 0.7883 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.298, allocations: 44.78 kB / 0.7883 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2981, allocations: 4 kB / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.2982, allocations: 79.38 kB / 0.7884 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.2983, allocations: 0 / 0.7884 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000358/0.2986, allocations: 141.7 kB / 0.7886 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2987, allocations: 81.09 kB / 0.7886 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.299, allocations: 279.3 kB / 0.7889 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.299, allocations: 25.7 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.885e-05/0.2991, allocations: 116.1 kB / 0.789 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.2991, allocations: 27.66 kB / 0.7891 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.2992, allocations: 29.64 kB / 0.7891 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2994, allocations: 334.8 kB / 0.7894 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.35e-05/0.2994, allocations: 24 kB / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.2995, allocations: 67.41 kB / 0.7895 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.2997, allocations: 65.7 kB / 0.7896 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2997, allocations: 3.938 kB / 0.7896 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002192/0.2999, allocations: 117.4 kB / 0.7897 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3, allocations: 4 kB / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3, allocations: 0 / 0.7897 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3, allocations: 8.062 kB / 0.7897 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.3001, allocations: 15.98 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.3001, allocations: 4 kB / 0.7897 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.3002, allocations: 7.938 kB / 0.7897 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3002, allocations: 4 kB / 0.7897 GB, free: 7.148 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.0001536/0.3003, allocations: 141.8 kB / 0.7898 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.3004, allocations: 15.81 kB / 0.7899 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.3004, allocations: 21.39 kB / 0.7899 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.3004, allocations: 4 kB / 0.7899 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3005, allocations: 0 / 0.7899 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3005, allocations: 7.875 kB / 0.7899 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3007, allocations: 225.5 kB / 0.7901 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3007, allocations: 96 / 0.7901 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.3007, allocations: 15.86 kB / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3007, allocations: 0 / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3007, allocations: 0 / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3008, allocations: 0 / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3008, allocations: 0 / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.301, allocations: 148.8 kB / 0.7903 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3011, allocations: 96.91 kB / 0.7904 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.3011, allocations: 3.938 kB / 0.7904 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.89e-05/0.3012, allocations: 4 kB / 0.7904 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.3012, allocations: 7.984 kB / 0.7904 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3012, allocations: 3.938 kB / 0.7904 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002091/0.3015, allocations: 196.6 kB / 0.7906 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3015, allocations: 0 / 0.7906 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002622/0.3017, allocations: 35.98 kB / 0.7906 GB, free: 6.141 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.001034/0.3028, allocations: 426.2 kB / 0.791 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.303, allocations: 75.89 kB / 0.7911 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.303, allocations: 0 / 0.7911 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.619e-05/0.3031, allocations: 40.12 kB / 0.7911 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3034, allocations: 39.31 kB / 0.7912 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006222/0.304, allocations: 362.5 kB / 0.7915 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3044, allocations: 0.7204 MB / 0.7922 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.3045, allocations: 19.42 kB / 0.7922 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3045, allocations: 3.938 kB / 0.7922 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.004837/0.3093, allocations: 2.552 MB / 0.7947 GB, free: 2.035 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++ -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