Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.0008747, allocations: 99.44 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 177.8 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.7 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.07161/0.07161, allocations: 8.111 MB / 279.1 MB, free: 13.44 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007068/0.0007068, allocations: 12 kB / 338.9 MB, free: 27.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1133, allocations: 49.28 MB / 388.2 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0005806/0.1139, allocations: 112.9 kB / 388.3 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001604/0.1141, allocations: 15.92 kB / 388.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.165e-05/0.1141, allocations: 0 / 388.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1141, allocations: 0 / 388.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.1141, allocations: 0 / 388.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.1143, allocations: 4 kB / 388.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.1143, allocations: 4 kB / 388.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.1144, allocations: 3.984 kB / 388.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.628e-05/0.1144, allocations: 0 / 388.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.1145, allocations: 3.938 kB / 388.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.1145, allocations: 8 kB / 388.3 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.026e-06/0.1145, allocations: 0 / 388.3 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.1145, allocations: 0 / 388.3 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1146, allocations: 25.7 kB / 388.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.677e-05/0.1146, allocations: 0 / 388.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1146, allocations: 0 / 388.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1146, allocations: 0 / 388.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1146, allocations: 3.938 kB / 388.4 MB, free: 9.535 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003596/0.115, allocations: 317.1 kB / 388.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1151, allocations: 8.031 kB / 388.7 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1151, allocations: 4 kB / 388.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1152, allocations: 159.1 kB / 388.8 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1152, allocations: 4 kB / 388.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1153, allocations: 4 kB / 388.8 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1154, allocations: 29.66 kB / 388.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1154, allocations: 0 / 388.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1154, allocations: 0 / 388.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.1154, allocations: 0 / 388.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.22e-05/0.1155, allocations: 7.938 kB / 388.9 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.1158, allocations: 153.7 kB / 389 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.299e-05/0.1158, allocations: 22.61 kB / 389 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.1159, allocations: 4.859 kB / 389.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1159, allocations: 0 / 389.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.1159, allocations: 34.52 kB / 389.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1159, allocations: 0 / 389.1 MB, free: 8.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.000166/0.1161, allocations: 45.78 kB / 389.1 MB, free: 8.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1162, allocations: 51.41 kB / 389.2 MB, free: 8.527 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.1162, allocations: 97.8 kB / 389.3 MB, free: 8.422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1162, allocations: 25.7 kB / 389.3 MB, free: 8.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.1163, allocations: 84.12 kB / 389.4 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1163, allocations: 3.906 kB / 389.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.1163, allocations: 0 / 389.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1165, allocations: 310.8 kB / 389.7 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.1165, allocations: 7.984 kB / 389.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.1165, allocations: 4.031 kB / 389.7 MB, free: 7.977 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.1165, allocations: 8 kB / 389.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1166, allocations: 0 / 389.7 MB, free: 7.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.464e-05/0.1166, allocations: 37.64 kB / 389.7 MB, free: 7.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1166, allocations: 4 kB / 389.8 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1167, allocations: 0 / 389.8 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1167, allocations: 3.953 kB / 389.8 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.764e-05/0.1167, allocations: 4 kB / 389.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1167, allocations: 0 / 389.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.1167, allocations: 8.078 kB / 389.8 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1168, allocations: 3.984 kB / 389.8 MB, free: 7.902 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.219e-05/0.1168, allocations: 115.2 kB / 389.9 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-06/0.1169, allocations: 0 / 389.9 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1169, allocations: 3.125 kB / 389.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1169, allocations: 3.953 kB / 389.9 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1169, allocations: 3.938 kB / 389.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1169, allocations: 0 / 389.9 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1171, allocations: 153.7 kB / 390 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1171, allocations: 4 kB / 390 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1171, allocations: 0 / 390 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1171, allocations: 0 / 390 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1171, allocations: 0 / 390 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1171, allocations: 4 kB / 390.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1172, allocations: 3.953 kB / 390.1 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1173, allocations: 65.06 kB / 390.1 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.1173, allocations: 77.2 kB / 390.2 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.1173, allocations: 4 kB / 390.2 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.1174, allocations: 4 kB / 390.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1174, allocations: 0 / 390.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.1174, allocations: 7.891 kB / 390.2 MB, free: 7.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3e-05/0.1174, allocations: 79.31 kB / 390.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1174, allocations: 0 / 390.3 MB, free: 7.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.1176, allocations: 4 kB / 390.3 MB, free: 7.281 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.000108/0.1177, allocations: 99.23 kB / 390.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.284e-05/0.1178, allocations: 8 kB / 390.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1178, allocations: 0 / 390.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.094e-06/0.1178, allocations: 3.938 kB / 390.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.118, allocations: 7.938 kB / 390.4 MB, free: 7.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.1183, allocations: 130.3 kB / 390.5 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1186, allocations: 0.6731 MB / 391.2 MB, free: 6.293 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.1186, allocations: 7.438 kB / 391.2 MB, free: 6.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1187, allocations: 4.125 kB / 391.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of Templates: time 0.001816/0.1205, allocations: 371.5 kB / 391.6 MB, free: 5.922 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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 OMCppModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperimentCalcHelperMain.o OMCppModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperimentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperimentCalcHelperMain.o] Error 1