Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0007956/0.0007953, allocations: 102.6 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.0008961/0.0008966, allocations: 177.4 kB / 16.58 MB, free: 6.039 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.494/1.494, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003737, allocations: 12 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8844, allocations: 153.6 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002314/0.8868, allocations: 1.47 MB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.8882, allocations: 0.9369 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.8883, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005703/0.8889, allocations: 155.6 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.8891, allocations: 91.77 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.8896, allocations: 156.2 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.8898, allocations: 147.6 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.8899, allocations: 17.09 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.89, allocations: 67.69 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.8901, allocations: 59.77 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.8901, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.8902, allocations: 51.95 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.8903, allocations: 35.84 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.8904, allocations: 49.64 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.8906, allocations: 145.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8906, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8906, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8906, allocations: 0 / 1.025 GB, free: 13.7 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000699/0.8913, allocations: 480.2 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8914, allocations: 11.98 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.8914, allocations: 15.81 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.8917, allocations: 243.7 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.8918, allocations: 8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.8918, allocations: 4 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.892, allocations: 87.33 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.892, allocations: 3.938 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.892, allocations: 4 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.892, allocations: 4 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.8921, allocations: 35.97 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.8927, allocations: 360.6 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.8929, allocations: 74.61 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.8929, allocations: 32.84 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.893, allocations: 4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.8931, allocations: 79.38 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.8931, allocations: 0 / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003328/0.8935, allocations: 149.3 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.8935, allocations: 77.11 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.8938, allocations: 262.9 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8938, allocations: 33.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.457e-05/0.8939, allocations: 120 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.894, allocations: 23.7 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-06/0.894, allocations: 4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8941, allocations: 326.8 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.705e-05/0.8942, allocations: 31.92 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.8943, allocations: 59.41 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.8944, allocations: 32 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8944, allocations: 4.031 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001916/0.8946, allocations: 113.4 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.8946, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.8946, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8946, allocations: 7.984 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.8947, allocations: 8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.8947, allocations: 3.938 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.8948, allocations: 11.84 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.8948, allocations: 4 kB / 1.028 GB, free: 10.77 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: 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.0001396/0.895, allocations: 149.8 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.895, allocations: 15.81 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.895, allocations: 17.78 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.8951, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.8951, allocations: 112 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8951, allocations: 7.922 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.8953, allocations: 229.5 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.8953, allocations: 3.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.8953, allocations: 8 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8953, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.8953, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8954, allocations: 4 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8954, allocations: 4 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.8956, allocations: 140.8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.8957, allocations: 100.8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.8957, allocations: 7.984 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.8958, allocations: 12 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.8958, allocations: 0 / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.8958, allocations: 7.984 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001792/0.896, allocations: 188.6 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.896, allocations: 0 / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002326/0.8963, allocations: 35.98 kB / 1.029 GB, free: 9.762 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: 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.001063/0.8973, allocations: 431.5 kB / 1.029 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.8975, allocations: 63.97 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8975, allocations: 0 / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.8976, allocations: 43.92 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.8979, allocations: 42.53 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.8985, allocations: 343.9 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.8988, allocations: 0.7282 MB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.8989, allocations: 15.44 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8989, allocations: 0 / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of Templates: time 0.004471/0.9033, allocations: 2.531 MB / 1.033 GB, free: 5.688 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Math.Examples.BooleanReplicatorCalcHelperMain.o] Error 1