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.001183/0.001183, allocations: 96.14 kB / 15.87 MB, free: 16 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.001245/0.001245, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.739/1.739, allocations: 205.1 MB / 222.6 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09035/0.09035, allocations: 8.107 MB / 278.1 MB, free: 13.39 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.001315/0.001315, allocations: 68.23 kB / 337.1 MB, free: 27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 48.3 MB / 385.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001595/0.1048, allocations: 463.7 kB / 385.9 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000142/0.1049, allocations: 11.98 kB / 385.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.615e-05/0.105, allocations: 4 kB / 385.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.105, allocations: 0 / 385.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.899e-06/0.105, allocations: 0 / 385.9 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.1051, allocations: 7.984 kB / 385.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.1052, allocations: 0 / 385.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1052, allocations: 9.656 kB / 385.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.538e-05/0.1053, allocations: 7.922 kB / 385.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.1053, allocations: 0 / 385.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1053, allocations: 0 / 385.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.1053, allocations: 0 / 385.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.1054, allocations: 4 kB / 385.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.1054, allocations: 7.938 kB / 385.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.196e-05/0.1054, allocations: 0 / 385.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1054, allocations: 0 / 385.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1054, allocations: 3.938 kB / 385.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1054, allocations: 0 / 385.9 MB, free: 10.14 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.0003797/0.1058, allocations: 311.6 kB / 386.3 MB, free: 9.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1059, allocations: 8.031 kB / 386.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.864e-05/0.1059, allocations: 0.9375 kB / 386.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.106, allocations: 164.4 kB / 386.4 MB, free: 9.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.106, allocations: 8.375 kB / 386.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1061, allocations: 384 / 386.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.1061, allocations: 30.25 kB / 386.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1062, allocations: 192 / 386.5 MB, free: 9.535 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1062, allocations: 3.938 kB / 386.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1062, allocations: 4 kB / 386.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.547e-05/0.1062, allocations: 0 / 386.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1066, allocations: 149.7 kB / 386.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.1066, allocations: 30.53 kB / 386.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.1066, allocations: 4.859 kB / 386.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.1066, allocations: 0 / 386.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.1067, allocations: 30.56 kB / 386.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.1067, allocations: 0 / 386.7 MB, free: 9.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.1068, allocations: 45.64 kB / 386.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1069, allocations: 51.41 kB / 386.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.107, allocations: 93.98 kB / 386.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.107, allocations: 25.7 kB / 386.9 MB, free: 9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.107, allocations: 80.14 kB / 387 MB, free: 8.918 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1071, allocations: 7.891 kB / 387 MB, free: 8.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.1071, allocations: 13.72 kB / 387 MB, free: 8.891 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1072, allocations: 314.8 kB / 387.3 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.1072, allocations: 0 / 387.3 MB, free: 8.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.1073, allocations: 4 kB / 387.3 MB, free: 8.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.652e-05/0.1073, allocations: 16.86 kB / 387.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1073, allocations: 0 / 387.3 MB, free: 8.551 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.173e-05/0.1074, allocations: 45.62 kB / 387.4 MB, free: 8.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1074, allocations: 4.625 kB / 387.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1074, allocations: 0 / 387.4 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1074, allocations: 7.875 kB / 387.4 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.1075, allocations: 4 kB / 387.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1075, allocations: 0 / 387.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.1075, allocations: 0 / 387.4 MB, free: 8.484 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.1075, allocations: 8.031 kB / 387.4 MB, free: 8.477 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.1076, allocations: 109.8 kB / 387.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.1076, allocations: 4 kB / 387.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.1076, allocations: 7.062 kB / 387.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1076, allocations: 0 / 387.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1076, allocations: 0 / 387.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1076, allocations: 3.984 kB / 387.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1078, allocations: 149.7 kB / 387.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1078, allocations: 0 / 387.7 MB, free: 8.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.1078, allocations: 4 kB / 387.7 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1078, allocations: 0 / 387.7 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1078, allocations: 7.922 kB / 387.7 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.1078, allocations: 4 kB / 387.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1078, allocations: 0 / 387.7 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.1079, allocations: 61.08 kB / 387.7 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.108, allocations: 81.09 kB / 387.8 MB, free: 7.953 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.108, allocations: 7.922 kB / 387.8 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.047e-05/0.108, allocations: 4.094 kB / 387.8 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.108, allocations: 0 / 387.8 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.108, allocations: 4.031 kB / 387.8 MB, free: 7.938 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.565e-05/0.108, allocations: 75.28 kB / 387.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1081, allocations: 0 / 387.9 MB, free: 7.863 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001639/0.1082, allocations: 0 / 387.9 MB, free: 7.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.1084, allocations: 95.25 kB / 388 MB, free: 7.762 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.1085, allocations: 12 kB / 388 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1085, allocations: 0 / 388 MB, free: 7.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.1085, allocations: 7.938 kB / 388 MB, free: 7.742 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1086, allocations: 7.875 kB / 388 MB, free: 7.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1089, allocations: 129.1 kB / 388.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1092, allocations: 0.677 MB / 388.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.1092, allocations: 7.438 kB / 388.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1092, allocations: 0 / 388.8 MB, free: 6.863 MB / 286.1 MB Notification: Performance of Templates: time 0.001335/0.1106, allocations: 375.7 kB / 389.2 MB, free: 6.5 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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