Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 95.73 kB / 16.96 MB, free: 5.676 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.001399/0.001399, allocations: 186.5 kB / 17.84 MB, free: 5.324 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.459/1.459, allocations: 223.2 MB / 241.8 MB, free: 356 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 8.781 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001341/0.1446, allocations: 0.5666 MB / 352.4 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003169/0.1449, allocations: 115.6 kB / 352.5 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.145, allocations: 4 kB / 352.6 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.626e-05/0.1451, allocations: 3.938 kB / 352.6 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1452, allocations: 7.984 kB / 352.6 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.1454, allocations: 35.91 kB / 352.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.1455, allocations: 31.92 kB / 352.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1456, allocations: 19.97 kB / 352.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.1457, allocations: 15.92 kB / 352.7 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.038e-05/0.1457, allocations: 15.86 kB / 352.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1458, allocations: 0 / 352.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.1458, allocations: 0 / 352.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.1458, allocations: 15.98 kB / 352.7 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.1459, allocations: 37.64 kB / 352.7 MB, free: 3.148 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.474e-05/0.1459, allocations: 27.94 kB / 352.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.146, allocations: 4 kB / 352.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.146, allocations: 0 / 352.8 MB, free: 3.117 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.146, allocations: 0 / 352.8 MB, free: 3.117 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003981/0.1464, allocations: 355.4 kB / 353.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1464, allocations: 12.03 kB / 353.1 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.1465, allocations: 11.86 kB / 353.1 MB, free: 2.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1467, allocations: 198.2 kB / 353.3 MB, free: 2.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1467, allocations: 4 kB / 353.3 MB, free: 2.465 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1467, allocations: 4 kB / 353.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.147, allocations: 123.3 kB / 353.5 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.147, allocations: 3.938 kB / 353.5 MB, free: 2.324 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1471, allocations: 7.953 kB / 353.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1471, allocations: 0 / 353.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.1471, allocations: 23.92 kB / 353.5 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1474, allocations: 173.5 kB / 353.7 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1475, allocations: 62.72 kB / 353.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.1476, allocations: 40.89 kB / 353.8 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1476, allocations: 3.938 kB / 353.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1476, allocations: 34.56 kB / 353.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1477, allocations: 0 / 353.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001979/0.1479, allocations: 89.64 kB / 353.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/0.1479, allocations: 63.27 kB / 353.9 MB, free: 1.746 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1481, allocations: 129.8 kB / 354.1 MB, free: 1.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1481, allocations: 25.7 kB / 354.1 MB, free: 1.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.1481, allocations: 88.14 kB / 354.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.1481, allocations: 0 / 354.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.1482, allocations: 4 kB / 354.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1483, allocations: 318.8 kB / 354.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.1483, allocations: 15.94 kB / 354.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.1484, allocations: 54.86 kB / 354.6 MB, free: 1.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.1484, allocations: 16 kB / 354.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1484, allocations: 0 / 354.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001214/0.1486, allocations: 93.39 kB / 354.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1486, allocations: 8.25 kB / 354.7 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1486, allocations: 4 kB / 354.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.1486, allocations: 4 kB / 354.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.582e-05/0.1486, allocations: 7.938 kB / 354.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1487, allocations: 3.953 kB / 354.7 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/0.1487, allocations: 11.94 kB / 354.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1487, allocations: 4 kB / 354.7 MB, free: 0.9141 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.979e-05/0.1488, allocations: 121.8 kB / 354.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.1489, allocations: 73.55 kB / 354.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.149, allocations: 20.36 kB / 354.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.149, allocations: 0 / 354.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.149, allocations: 0 / 354.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.149, allocations: 3.953 kB / 354.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1491, allocations: 165.7 kB / 355.1 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1491, allocations: 0 / 355.1 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.1491, allocations: 7.984 kB / 355.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1492, allocations: 192 / 355.1 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1492, allocations: 3.938 kB / 355.1 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1492, allocations: 3.938 kB / 355.1 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1492, allocations: 0 / 355.1 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1493, allocations: 112.9 kB / 355.2 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.1494, allocations: 93 kB / 355.3 MB, free: 220 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.1494, allocations: 4 kB / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.1494, allocations: 0 / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.1494, allocations: 0 / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1494, allocations: 0 / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of sorting global known variables: time 7.742e-05/0.1495, allocations: 113.9 kB / 355.4 MB, free: 104 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 355.4 MB, free: 104 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001944/0.1497, allocations: 12 kB / 355.4 MB, free: 92 kB / 286.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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001226/0.1499, allocations: 99.25 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.15, allocations: 43.91 kB / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.15, allocations: 0 / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.15, allocations: 0 / 355.6 MB, free: 15.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1503, allocations: 55.16 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.1507, allocations: 197.1 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1511, allocations: 0.6965 MB / 356.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1511, allocations: 11.44 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1511, allocations: 0 / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Templates: time 0.002277/0.1534, allocations: 0.781 MB / 357.3 MB, free: 14.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClockCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockCalcHelperMain.o] Error 1