Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007641/0.0007639, allocations: 95.62 kB / 17.63 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008618/0.0008623, allocations: 201 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003099, allocations: 8 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1882, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003744/0.192, allocations: 1.588 MB / 360.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1948, allocations: 1.147 MB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1951, allocations: 7.938 kB / 361.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.1959, allocations: 135.6 kB / 361.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005221/0.1964, allocations: 126.8 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.1973, allocations: 179.4 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004425/0.1977, allocations: 175.5 kB / 362.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.1979, allocations: 25.66 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.1982, allocations: 71.64 kB / 362.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1984, allocations: 71.62 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.1984, allocations: 4 kB / 362.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002308/0.1986, allocations: 43.97 kB / 362.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1988, allocations: 35.84 kB / 362.4 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1989, allocations: 57.56 kB / 362.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1993, allocations: 152 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.345e-05/0.1993, allocations: 4 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1993, allocations: 3.938 kB / 362.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1993, allocations: 0 / 362.6 MB, free: 10.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001288/0.2006, allocations: 0.4884 MB / 363.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/0.2007, allocations: 12.03 kB / 363.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.2008, allocations: 19.72 kB / 363.1 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.2014, allocations: 265.6 kB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.2015, allocations: 4 kB / 363.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.2015, allocations: 15.94 kB / 363.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2021, allocations: 159.6 kB / 363.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.2021, allocations: 0 / 363.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.2021, allocations: 8 kB / 363.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2022, allocations: 4 kB / 363.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.2023, allocations: 35.92 kB / 363.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.2033, allocations: 458.4 kB / 364 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.2037, allocations: 134.5 kB / 364.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.2039, allocations: 63.34 kB / 364.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.204, allocations: 4.062 kB / 364.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.2043, allocations: 89.11 kB / 364.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/0.2043, allocations: 0 / 364.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006222/0.2049, allocations: 157.2 kB / 364.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.2051, allocations: 166.5 kB / 364.6 MB, free: 7.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.2056, allocations: 277 kB / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2056, allocations: 29.7 kB / 364.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2058, allocations: 120.3 kB / 365.1 MB, free: 7.527 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.2059, allocations: 15.81 kB / 365.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.2059, allocations: 4 kB / 365.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.2061, allocations: 330.8 kB / 365.4 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.2062, allocations: 23.98 kB / 365.4 MB, free: 7.152 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2064, allocations: 82.86 kB / 365.5 MB, free: 7.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2065, allocations: 31.94 kB / 365.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2065, allocations: 0 / 365.5 MB, free: 7.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003527/0.2069, allocations: 129.4 kB / 365.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.2069, allocations: 15.88 kB / 365.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.207, allocations: 0 / 365.7 MB, free: 6.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.207, allocations: 4 kB / 365.7 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2071, allocations: 12 kB / 365.7 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2072, allocations: 4 kB / 365.7 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2073, allocations: 11.92 kB / 365.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2073, allocations: 4 kB / 365.7 MB, free: 6.832 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0002497/0.2076, allocations: 157.9 kB / 365.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.2077, allocations: 61.42 kB / 365.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/0.2078, allocations: 25.7 kB / 366 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.2079, allocations: 4 kB / 366 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.2079, allocations: 0 / 366 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.2079, allocations: 7.922 kB / 366 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.2083, allocations: 237.8 kB / 366.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2083, allocations: 4.062 kB / 366.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.2083, allocations: 12 kB / 366.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2083, allocations: 0 / 366.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2084, allocations: 4 kB / 366.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2084, allocations: 0 / 366.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2084, allocations: 0 / 366.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.2088, allocations: 187.2 kB / 366.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.209, allocations: 116.7 kB / 366.5 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.2091, allocations: 4 kB / 366.5 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2092, allocations: 4 kB / 366.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.211e-05/0.2093, allocations: 11.98 kB / 366.5 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.2093, allocations: 4 kB / 366.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003671/0.2097, allocations: 200.5 kB / 366.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2097, allocations: 0 / 366.7 MB, free: 5.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.2102, allocations: 35.98 kB / 366.8 MB, free: 5.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * 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.001679/0.2119, allocations: 408.6 kB / 367.2 MB, free: 5.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2123, allocations: 83.72 kB / 367.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2123, allocations: 0 / 367.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.2124, allocations: 28.3 kB / 367.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.2132, allocations: 73.47 kB / 367.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2142, allocations: 386.7 kB / 367.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.2147, allocations: 0.74 MB / 368.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.2148, allocations: 15.44 kB / 368.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2148, allocations: 3.938 kB / 368.5 MB, free: 4.008 MB / 302.1 MB Notification: Performance of Templates: time 0.008207/0.223, allocations: 2.737 MB / 371.2 MB, free: 1.293 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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 OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.o OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.o] Error 1