Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo) 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(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") translateModel(SystemDynamics.IntroductoryExamples.Sugar_Cane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, 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.001514/0.001514, allocations: 199.4 kB / 16.79 MB, free: 6.828 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.609/1.609, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.5403/0.5403, allocations: 28.8 MB / 319.4 MB, free: 5.941 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 59.91 kB / 386.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5785, allocations: 56.41 MB / 443 MB, free: 39.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.004084/0.5827, allocations: 2.141 MB / 445.1 MB, free: 38.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.5839, allocations: 324.1 kB / 445.4 MB, free: 38.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.5845, allocations: 5.781 kB / 445.4 MB, free: 38.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.5848, allocations: 51.12 kB / 445.5 MB, free: 38.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.5851, allocations: 18.14 kB / 445.5 MB, free: 38.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.5855, allocations: 139.1 kB / 445.6 MB, free: 38.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.5861, allocations: 373.5 kB / 446 MB, free: 38.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.5866, allocations: 321.2 kB / 446.3 MB, free: 38.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.5868, allocations: 131 kB / 446.5 MB, free: 38.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.587, allocations: 180.2 kB / 446.6 MB, free: 38.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.5871, allocations: 25.91 kB / 446.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.5872, allocations: 25.31 kB / 446.7 MB, free: 38.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.5872, allocations: 85.19 kB / 446.8 MB, free: 38.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.5874, allocations: 196.4 kB / 447 MB, free: 37.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.5877, allocations: 280.9 kB / 447.2 MB, free: 37.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.5877, allocations: 2.938 kB / 447.2 MB, free: 37.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5877, allocations: 0 / 447.2 MB, free: 37.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.5878, allocations: 4 kB / 447.2 MB, free: 37.88 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001281/0.589, allocations: 0.7122 MB / 447.9 MB, free: 37.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.782e-05/0.5891, allocations: 15.16 kB / 448 MB, free: 37.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.5892, allocations: 53.94 kB / 448 MB, free: 37.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.5897, allocations: 337.9 kB / 448.3 MB, free: 37.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.5898, allocations: 43.69 kB / 448.4 MB, free: 37.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.5899, allocations: 51.22 kB / 448.4 MB, free: 37.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.5906, allocations: 478.8 kB / 448.9 MB, free: 36.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.5906, allocations: 3.25 kB / 448.9 MB, free: 36.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.5906, allocations: 27.47 kB / 448.9 MB, free: 36.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5906, allocations: 14.16 kB / 448.9 MB, free: 36.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.591, allocations: 260.9 kB / 449.2 MB, free: 36.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.5928, allocations: 1.746 MB / 450.9 MB, free: 35.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.5933, allocations: 209.4 kB / 451.2 MB, free: 35.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.5934, allocations: 64.66 kB / 451.2 MB, free: 35.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.5934, allocations: 2.906 kB / 451.2 MB, free: 35.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.5935, allocations: 37.47 kB / 451.3 MB, free: 35.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.5935, allocations: 0 / 451.3 MB, free: 35.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0004656/0.5939, allocations: 227.3 kB / 451.5 MB, free: 35.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.594, allocations: 53.88 kB / 451.5 MB, free: 35.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000349/0.5944, allocations: 349.2 kB / 451.9 MB, free: 35.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.5944, allocations: 33.64 kB / 451.9 MB, free: 35.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.5946, allocations: 259.2 kB / 452.2 MB, free: 34.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.5946, allocations: 70.91 kB / 452.2 MB, free: 34.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.5947, allocations: 49.45 kB / 452.3 MB, free: 34.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5948, allocations: 353.2 kB / 452.6 MB, free: 34.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/0.5949, allocations: 55.09 kB / 452.7 MB, free: 34.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5951, allocations: 133.5 kB / 452.8 MB, free: 34.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.5954, allocations: 196.8 kB / 453 MB, free: 34.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5954, allocations: 0 / 453 MB, free: 34.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003282/0.5957, allocations: 258.2 kB / 453.2 MB, free: 34.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5957, allocations: 9 kB / 453.3 MB, free: 34.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5957, allocations: 6.797 kB / 453.3 MB, free: 34.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.5958, allocations: 3.688 kB / 453.3 MB, free: 34.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.596, allocations: 46.64 kB / 453.3 MB, free: 34.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.596, allocations: 3.062 kB / 453.3 MB, free: 34.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.5961, allocations: 32.59 kB / 453.3 MB, free: 34.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.5961, allocations: 13.12 kB / 453.4 MB, free: 34.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (Water_Inside.Integrator1.local_reset,Water_Outside.Integrator1.local_reset,Sucrose_Outside.Integrator1.local_reset,Sucrose_Inside.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001674/0.5963, allocations: 164.3 kB / 453.5 MB, free: 33.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.5963, allocations: 37.69 kB / 453.6 MB, free: 33.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.5964, allocations: 35.2 kB / 453.6 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5964, allocations: 2.688 kB / 453.6 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.5964, allocations: 0 / 453.6 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.5964, allocations: 0 / 453.6 MB, free: 33.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.5969, allocations: 404.1 kB / 454 MB, free: 33.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5969, allocations: 0 / 454 MB, free: 33.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.597, allocations: 31.27 kB / 454 MB, free: 33.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.597, allocations: 4 kB / 454 MB, free: 33.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5971, allocations: 6.656 kB / 454 MB, free: 33.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5971, allocations: 0 / 454 MB, free: 33.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5971, allocations: 0 / 454 MB, free: 33.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.5975, allocations: 355.8 kB / 454.4 MB, free: 33.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.5976, allocations: 115.8 kB / 454.5 MB, free: 33.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5977, allocations: 2.531 kB / 454.5 MB, free: 33.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.5978, allocations: 7.938 kB / 454.5 MB, free: 33.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.5978, allocations: 17.03 kB / 454.5 MB, free: 33.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5978, allocations: 10.78 kB / 454.5 MB, free: 33.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.5981, allocations: 240 kB / 454.8 MB, free: 33.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5981, allocations: 0 / 454.8 MB, free: 33.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.5984, allocations: 70.47 kB / 454.8 MB, free: 33.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Sucrose_Inside.Integrator1.y,Sucrose_Outside.Integrator1.y,Water_Outside.Integrator1.y,Water_Inside.Integrator1.y) * 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 (19): * Single equations (assignments): 19 * 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.0001085/0.5985, allocations: 97.58 kB / 454.9 MB, free: 32.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003123/0.5988, allocations: 156.9 kB / 455.1 MB, free: 32.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5988, allocations: 6.625 kB / 455.1 MB, free: 32.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.5989, allocations: 75.17 kB / 455.2 MB, free: 32.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.5994, allocations: 41.2 kB / 455.2 MB, free: 32.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.6006, allocations: 0.8726 MB / 456.1 MB, free: 32.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.6009, allocations: 0.8146 MB / 456.9 MB, free: 31.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.274e-05/0.601, allocations: 23.91 kB / 456.9 MB, free: 31.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.601, allocations: 4 kB / 456.9 MB, free: 31.5 MB / 366.1 MB Notification: Performance of Templates: time 0.006331/0.6074, allocations: 3.688 MB / 460.6 MB, free: 31.06 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.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 OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_CaneCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_CaneCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_CaneCalcHelperMain.o] Error 1