Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 90.41 kB / 17.63 MB, free: 6.293 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.001025/0.001025, allocations: 181.4 kB / 18.52 MB, free: 5.445 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.492/1.492, allocations: 223.3 MB / 242.5 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.22 MB / 337.9 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.000449, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 61.91 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0007494/0.1575, allocations: 213.3 kB / 472.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1585, allocations: 358.6 kB / 472.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.021e-05/0.1586, allocations: 8 kB / 472.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.1586, allocations: 3.938 kB / 472.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-06/0.1586, allocations: 3.938 kB / 472.7 MB, free: 13.17 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:38:3-118:23:writable] Warning: Pure function ‘ModelicaTest.Math.BooleanFunctions‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0009265/0.1596, allocations: 155.7 kB / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.983e-05/0.1596, allocations: 0 / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.1597, allocations: 0 / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1597, allocations: 0 / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.804e-05/0.1597, allocations: 4 kB / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.1597, allocations: 0 / 472.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.1602, allocations: 163.7 kB / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.245e-06/0.1602, allocations: 0 / 473.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.1602, allocations: 29.7 kB / 473.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1605, allocations: 107.8 kB / 473.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1605, allocations: 0 / 473.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1605, allocations: 0 / 473.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1605, allocations: 0 / 473.2 MB, free: 12.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004615/0.161, allocations: 367.4 kB / 473.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.161, allocations: 15.97 kB / 473.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1611, allocations: 3.938 kB / 473.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1612, allocations: 159.1 kB / 473.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1612, allocations: 0 / 473.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1612, allocations: 7.953 kB / 473.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1614, allocations: 33.69 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1614, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1614, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1614, allocations: 0 / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.091e-05/0.1614, allocations: 3.938 kB / 473.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1616, allocations: 149.7 kB / 473.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.1617, allocations: 18.52 kB / 473.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.1617, allocations: 12.94 kB / 474 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.1617, allocations: 4 kB / 474 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.1618, allocations: 60.22 kB / 474 MB, free: 11.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1618, allocations: 0 / 474 MB, free: 11.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002111/0.162, allocations: 63.41 kB / 474.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1621, allocations: 81.05 kB / 474.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.256e-05/0.1621, allocations: 93.84 kB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1622, allocations: 29.83 kB / 474.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.1622, allocations: 80.14 kB / 474.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.1622, allocations: 4 kB / 474.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.1622, allocations: 0 / 474.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1624, allocations: 310.8 kB / 474.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1624, allocations: 0 / 474.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-06/0.1624, allocations: 0 / 474.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.1624, allocations: 33.7 kB / 474.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1624, allocations: 4.062 kB / 474.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.103e-05/0.1625, allocations: 59.39 kB / 474.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.1626, allocations: 33.7 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1626, allocations: 3.953 kB / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1626, allocations: 0 / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.1626, allocations: 0 / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1627, allocations: 0 / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1627, allocations: 0 / 474.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1627, allocations: 7.938 kB / 474.8 MB, free: 10.85 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000121/0.1628, allocations: 136.1 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.1628, allocations: 3.938 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.1629, allocations: 19.06 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1629, allocations: 3.953 kB / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1629, allocations: 0 / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1629, allocations: 0 / 475 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.163, allocations: 141.7 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.163, allocations: 0 / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.163, allocations: 0 / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.163, allocations: 4 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.163, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1631, allocations: 11.98 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1631, allocations: 3.953 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1632, allocations: 86.84 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.1632, allocations: 77.11 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1633, allocations: 7.922 kB / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.1633, allocations: 0 / 475.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.1633, allocations: 11.89 kB / 475.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.1633, allocations: 4.031 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.1634, allocations: 75.28 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003208/0.1637, allocations: 52 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004808/0.1642, allocations: 187 kB / 475.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.1643, allocations: 59.41 kB / 475.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1643, allocations: 4 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1644, allocations: 59.39 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1645, allocations: 5.812 kB / 475.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000212/0.1647, allocations: 104.3 kB / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.165, allocations: 0.6692 MB / 476.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.165, allocations: 7.438 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.165, allocations: 0 / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of Templates: time 0.004143/0.1692, allocations: 1.584 MB / 478.1 MB, free: 7.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctions.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Math.TestBooleanFunctionsCalcHelperMain.o] Error 1