Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_9_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.001038/0.001038, allocations: 98.89 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.00155/0.00155, allocations: 177.6 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.44/1.44, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9197/0.9202, allocations: 142.3 MB / 0.9544 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.0021/0.9223, allocations: 1.471 MB / 0.9558 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.9238, allocations: 0.9311 MB / 0.9568 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.9239, allocations: 5.156 kB / 0.9568 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.9245, allocations: 151 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.9248, allocations: 91.45 kB / 0.957 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.9252, allocations: 146.9 kB / 0.9571 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.9254, allocations: 140.9 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.9255, allocations: 30.92 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.9256, allocations: 60.45 kB / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.9257, allocations: 64.84 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.9258, allocations: 2.062 kB / 0.9574 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.9259, allocations: 44.05 kB / 0.9575 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.926, allocations: 39.17 kB / 0.9575 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.926, allocations: 57.06 kB / 0.9575 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.9263, allocations: 154.3 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.9263, allocations: 0 / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9263, allocations: 1.031 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.9263, allocations: 0 / 0.9577 GB, free: 5.633 MB / 0.7169 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.0006174/0.9269, allocations: 479.9 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.927, allocations: 9.094 kB / 0.9582 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.927, allocations: 18.92 kB / 0.9582 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.9273, allocations: 230.8 kB / 0.9584 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.9273, allocations: 6.125 kB / 0.9584 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.9273, allocations: 6.219 kB / 0.9584 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.9275, allocations: 87.97 kB / 0.9585 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.9275, allocations: 0 / 0.9585 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.9276, allocations: 2.625 kB / 0.9585 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/0.9276, allocations: 1.812 kB / 0.9585 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.051e-05/0.9277, allocations: 38.58 kB / 0.9585 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.9282, allocations: 359.9 kB / 0.9589 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.9283, allocations: 75.08 kB / 0.959 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.081e-05/0.9284, allocations: 32.03 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.9284, allocations: 2.188 kB / 0.959 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.9286, allocations: 96.22 kB / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.9286, allocations: 0 / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003275/0.929, allocations: 140.7 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.929, allocations: 78.23 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.9293, allocations: 270.9 kB / 0.9595 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.9293, allocations: 27.27 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.9294, allocations: 115.7 kB / 0.9597 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.9294, allocations: 28.11 kB / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.9294, allocations: 0 / 0.9597 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.9295, allocations: 327.9 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.9295, allocations: 26.33 kB / 0.96 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.268e-05/0.9296, allocations: 61.94 kB / 0.9601 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.618e-05/0.9297, allocations: 32.66 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9297, allocations: 1.125 kB / 0.9601 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001818/0.9299, allocations: 113.7 kB / 0.9602 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9299, allocations: 5.5 kB / 0.9603 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.9299, allocations: 5.328 kB / 0.9603 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.9299, allocations: 0 / 0.9603 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.93, allocations: 13.61 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.93, allocations: 1.375 kB / 0.9603 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.303e-05/0.9301, allocations: 8.062 kB / 0.9603 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.9301, allocations: 10.78 kB / 0.9603 GB, free: 3.27 MB / 0.7169 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.0001057/0.9302, allocations: 139.7 kB / 0.9604 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.9303, allocations: 14.69 kB / 0.9604 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.9303, allocations: 24.27 kB / 0.9605 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.9303, allocations: 6.703 kB / 0.9605 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.9303, allocations: 4.047 kB / 0.9605 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9303, allocations: 5.312 kB / 0.9605 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.9305, allocations: 218.4 kB / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9305, allocations: 0 / 0.9607 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.9305, allocations: 12.11 kB / 0.9607 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.9305, allocations: 3.984 kB / 0.9607 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.9305, allocations: 5.375 kB / 0.9607 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9306, allocations: 96 / 0.9607 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9306, allocations: 9.266 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.9308, allocations: 145.1 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.9308, allocations: 98.36 kB / 0.9609 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.9308, allocations: 5.375 kB / 0.9609 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.9309, allocations: 8.109 kB / 0.961 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.9309, allocations: 6.703 kB / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.931, allocations: 2.75 kB / 0.961 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000166/0.9311, allocations: 199.6 kB / 0.9612 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9311, allocations: 0 / 0.9612 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002428/0.9314, allocations: 31.36 kB / 0.9612 GB, free: 2.477 MB / 0.7169 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.0009854/0.9324, allocations: 431.1 kB / 0.9616 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.9326, allocations: 73.88 kB / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9326, allocations: 1 kB / 0.9617 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.9327, allocations: 37.97 kB / 0.9617 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.933, allocations: 31.62 kB / 0.9617 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.9335, allocations: 350.1 kB / 0.9621 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.9337, allocations: 0.7274 MB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.9338, allocations: 16.53 kB / 0.9628 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.9338, allocations: 1.062 kB / 0.9628 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.005211/0.939, allocations: 2.52 MB / 0.9653 GB, free: 15.91 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_9_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_9_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1