Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|clockToSquareWave.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009555, allocations: 91.47 kB / 16.95 MB, free: 5.637 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.001148/0.001148, allocations: 185.3 kB / 17.85 MB, free: 5.297 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.416/1.416, allocations: 223.3 MB / 241.9 MB, free: 14.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002874, allocations: 4 kB / 301.5 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 50.43 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.001892/0.1142, allocations: 1.273 MB / 353.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000761/0.115, allocations: 483.2 kB / 353.6 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.888e-05/0.1151, allocations: 11.88 kB / 353.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.1152, allocations: 0 / 353.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1153, allocations: 11.92 kB / 353.6 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1156, allocations: 51.83 kB / 353.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1157, allocations: 43.8 kB / 353.7 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1158, allocations: 24.14 kB / 353.8 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.653e-05/0.1159, allocations: 11.94 kB / 353.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.116, allocations: 23.86 kB / 353.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.116, allocations: 0 / 353.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.116, allocations: 4 kB / 353.8 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.577e-05/0.116, allocations: 11.98 kB / 353.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.1161, allocations: 37.64 kB / 353.9 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.747e-05/0.1162, allocations: 39.91 kB / 353.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1162, allocations: 0 / 353.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1162, allocations: 4 kB / 353.9 MB, free: 1.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.1162, allocations: 0 / 353.9 MB, free: 1.75 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004782/0.1167, allocations: 371.2 kB / 354.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1167, allocations: 8.031 kB / 354.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1168, allocations: 11.91 kB / 354.3 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.117, allocations: 201.6 kB / 354.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.117, allocations: 0 / 354.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.117, allocations: 7.938 kB / 354.5 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1173, allocations: 129.9 kB / 354.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.1173, allocations: 11.89 kB / 354.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1173, allocations: 0 / 354.6 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1174, allocations: 4 kB / 354.6 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.1175, allocations: 27.92 kB / 354.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1178, allocations: 282.6 kB / 354.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.118, allocations: 156.9 kB / 355.1 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.1181, allocations: 46.52 kB / 355.1 MB, free: 308 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1181, allocations: 8 kB / 355.1 MB, free: 300 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1182, allocations: 30.56 kB / 355.2 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1182, allocations: 0 / 355.2 MB, free: 260 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002777/0.1184, allocations: 105.7 kB / 355.3 MB, free: 148 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.1185, allocations: 106.8 kB / 355.4 MB, free: 16 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1187, allocations: 146 kB / 355.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.1187, allocations: 29.7 kB / 355.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.1187, allocations: 84.33 kB / 355.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.1188, allocations: 11.91 kB / 355.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.1188, allocations: 0 / 355.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1189, allocations: 314.8 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.097e-05/0.1189, allocations: 24.02 kB / 356 MB, free: 15.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.119, allocations: 40.3 kB / 356 MB, free: 15.33 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.1191, allocations: 27.98 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1191, allocations: 0 / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/0.1192, allocations: 89.73 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1193, allocations: 4 kB / 356.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1193, allocations: 4 kB / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1193, allocations: 0 / 356.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.1194, allocations: 16.11 kB / 356.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1194, allocations: 11.88 kB / 356.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.1195, allocations: 11.98 kB / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1195, allocations: 0 / 356.2 MB, free: 15.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y2,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.827e-05/0.1196, allocations: 121.8 kB / 356.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.144e-05/0.1197, allocations: 57.55 kB / 356.3 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1197, allocations: 8.25 kB / 356.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1197, allocations: 4 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1197, allocations: 0 / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1197, allocations: 4 kB / 356.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1199, allocations: 181.5 kB / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1199, allocations: 0 / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.765e-05/0.12, allocations: 23.86 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.12, allocations: 3.953 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.12, allocations: 0 / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.12, allocations: 4 kB / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.12, allocations: 0 / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1202, allocations: 185.2 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.353e-05/0.1203, allocations: 96.94 kB / 356.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1203, allocations: 12.02 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.1204, allocations: 7.984 kB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1204, allocations: 7.938 kB / 356.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1205, allocations: 8 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.009e-05/0.1205, allocations: 109.8 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1206, allocations: 0 / 357 MB, free: 14.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1208, allocations: 8 kB / 357 MB, free: 14.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToSquareWave.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001097/0.1209, allocations: 95.25 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1211, allocations: 52.11 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1211, allocations: 0 / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.1211, allocations: 15.98 kB / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1215, allocations: 23.95 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.1219, allocations: 248.8 kB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.1222, allocations: 0.6965 MB / 358.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.1222, allocations: 11.44 kB / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1222, allocations: 0 / 358.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of Templates: time 0.002332/0.1245, allocations: 0.8432 MB / 359 MB, free: 12.18 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHoldCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHoldCalcHelperMain.o] Error 1