Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007968/0.0007968, allocations: 93.86 kB / 16.95 MB, free: 6.453 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.0008706/0.0008706, allocations: 179.2 kB / 17.84 MB, free: 6 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.402/1.402, allocations: 223.2 MB / 241.9 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 4 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1078, allocations: 50.41 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.001723/0.1096, allocations: 1.202 MB / 353.1 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003406/0.1099, allocations: 148.3 kB / 353.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.11, allocations: 4 kB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.1101, allocations: 3.938 kB / 353.2 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1102, allocations: 7.984 kB / 353.2 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1104, allocations: 27.91 kB / 353.3 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.1105, allocations: 35.92 kB / 353.3 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.1106, allocations: 4 kB / 353.3 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.1106, allocations: 15.92 kB / 353.3 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1106, allocations: 7.938 kB / 353.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1107, allocations: 4 kB / 353.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.1107, allocations: 0 / 353.3 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.1107, allocations: 15.91 kB / 353.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.1108, allocations: 37.64 kB / 353.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.1108, allocations: 27.95 kB / 353.4 MB, free: 2.469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1108, allocations: 4 kB / 353.4 MB, free: 2.465 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1108, allocations: 0 / 353.4 MB, free: 2.465 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1109, allocations: 0 / 353.4 MB, free: 2.465 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003888/0.1112, allocations: 355.4 kB / 353.8 MB, free: 2.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1113, allocations: 8.031 kB / 353.8 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1113, allocations: 11.86 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1115, allocations: 186.9 kB / 354 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.1115, allocations: 0 / 354 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.1116, allocations: 4 kB / 354 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1118, allocations: 124.9 kB / 354.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1118, allocations: 0 / 354.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1119, allocations: 4 kB / 354.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1119, allocations: 0 / 354.1 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.1119, allocations: 23.94 kB / 354.1 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.1122, allocations: 261.8 kB / 354.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1124, allocations: 134.3 kB / 354.5 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.95e-05/0.1124, allocations: 25.78 kB / 354.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1125, allocations: 0 / 354.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1125, allocations: 42.48 kB / 354.6 MB, free: 1.098 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.1125, allocations: 0 / 354.6 MB, free: 1.098 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002042/0.1127, allocations: 73.48 kB / 354.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.1128, allocations: 89.17 kB / 354.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1129, allocations: 133.1 kB / 354.8 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1129, allocations: 29.69 kB / 354.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.113, allocations: 88.05 kB / 355 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.113, allocations: 0 / 355 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.113, allocations: 4 kB / 355 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1131, allocations: 314.8 kB / 355.3 MB, free: 340 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.1131, allocations: 11.98 kB / 355.3 MB, free: 328 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.1132, allocations: 31.44 kB / 355.3 MB, free: 284 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.263e-05/0.1132, allocations: 7.938 kB / 355.3 MB, free: 276 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1132, allocations: 11.92 kB / 355.3 MB, free: 264 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001118/0.1133, allocations: 61.62 kB / 355.4 MB, free: 196 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1134, allocations: 6.969 kB / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1134, allocations: 0 / 355.4 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1134, allocations: 7.953 kB / 355.4 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-05/0.1134, allocations: 4 kB / 355.4 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1134, allocations: 4 kB / 355.4 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.1134, allocations: 3.938 kB / 355.4 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1135, allocations: 4 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.145e-05/0.1135, allocations: 125.9 kB / 355.5 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/0.1136, allocations: 45.61 kB / 355.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.1137, allocations: 15.89 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1137, allocations: 0 / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1137, allocations: 3.953 kB / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1137, allocations: 0 / 355.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1139, allocations: 161.7 kB / 355.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1139, allocations: 4 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.343e-06/0.1139, allocations: 0 / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1139, allocations: 4.328 kB / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1139, allocations: 0 / 355.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1139, allocations: 4 kB / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1139, allocations: 0 / 355.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1141, allocations: 180.2 kB / 356 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1141, allocations: 89 kB / 356 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1142, allocations: 4 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.1142, allocations: 12 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1143, allocations: 0 / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.1143, allocations: 4 kB / 356.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.331e-05/0.1143, allocations: 99.22 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1143, allocations: 0 / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.1146, allocations: 8 kB / 356.2 MB, free: 15.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.581e-05/0.1146, allocations: 99.23 kB / 356.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1148, allocations: 35.86 kB / 356.3 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1148, allocations: 4 kB / 356.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.1148, allocations: 4 kB / 356.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1151, allocations: 23.89 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.1154, allocations: 187.8 kB / 356.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.1157, allocations: 0.6926 MB / 357.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.1157, allocations: 11.44 kB / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1157, allocations: 0 / 357.2 MB, free: 14.18 MB / 302.1 MB Notification: Performance of Templates: time 0.001945/0.1177, allocations: 0.658 MB / 357.9 MB, free: 13.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1CalcHelperMain.o] Error 1