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.000952/0.000952, allocations: 102.6 kB / 15.71 MB, free: 460 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.001535/0.001534, allocations: 172.4 kB / 16.58 MB, free: 6.395 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.571/1.571, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4091/0.4091, allocations: 28.84 MB / 320.5 MB, free: 6.215 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004324, allocations: 8 kB / 388.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3816, allocations: 57.48 MB / 446 MB, free: 32.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.002479/0.3841, allocations: 1.619 MB / 447.6 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.3848, allocations: 320.6 kB / 447.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.3851, allocations: 9.844 kB / 447.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.3853, allocations: 42.83 kB / 448 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.3854, allocations: 22.03 kB / 448 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3857, allocations: 103.1 kB / 448.1 MB, free: 31.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.3862, allocations: 363.5 kB / 448.4 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.3867, allocations: 251.9 kB / 448.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3868, allocations: 86.98 kB / 448.8 MB, free: 31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.387, allocations: 114.2 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.3871, allocations: 8.5 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.3871, allocations: 8.938 kB / 448.9 MB, free: 30.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3872, allocations: 53.28 kB / 448.9 MB, free: 30.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.756e-05/0.3873, allocations: 82.89 kB / 449 MB, free: 30.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3876, allocations: 280.3 kB / 449.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3877, allocations: 4 kB / 449.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.3877, allocations: 0 / 449.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3877, allocations: 0 / 449.3 MB, free: 30.75 MB / 350.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.001007/0.3887, allocations: 0.6246 MB / 449.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.3888, allocations: 8.562 kB / 449.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.3889, allocations: 61.89 kB / 450 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.3894, allocations: 327.7 kB / 450.3 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.274e-05/0.3895, allocations: 36.53 kB / 450.4 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3896, allocations: 54.81 kB / 450.4 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3907, allocations: 482 kB / 450.9 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3908, allocations: 0 / 450.9 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.3908, allocations: 21.94 kB / 450.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.3909, allocations: 11.69 kB / 450.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006632/0.3915, allocations: 257.1 kB / 451.2 MB, free: 29.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.394, allocations: 1.751 MB / 452.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006815/0.3947, allocations: 208.5 kB / 453.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3948, allocations: 60.39 kB / 453.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.3949, allocations: 2.688 kB / 453.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.395, allocations: 41.2 kB / 453.2 MB, free: 28.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.395, allocations: 0 / 453.2 MB, free: 28.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.000593/0.3956, allocations: 228.9 kB / 453.4 MB, free: 27.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3956, allocations: 54.34 kB / 453.5 MB, free: 27.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.3961, allocations: 346.9 kB / 453.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3962, allocations: 32.55 kB / 453.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.3964, allocations: 257 kB / 454.1 MB, free: 27.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.3965, allocations: 66.09 kB / 454.2 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.3965, allocations: 10.75 kB / 454.2 MB, free: 27.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3966, allocations: 342.7 kB / 454.5 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3968, allocations: 55.67 kB / 454.6 MB, free: 27.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.397, allocations: 118.6 kB / 454.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3973, allocations: 77.31 kB / 454.8 MB, free: 26.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3973, allocations: 0 / 454.8 MB, free: 26.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000537/0.3978, allocations: 259.5 kB / 455 MB, free: 26.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.3979, allocations: 11.48 kB / 455 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.3979, allocations: 6.75 kB / 455 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.3979, allocations: 2.781 kB / 455 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.3981, allocations: 54.75 kB / 455.1 MB, free: 26.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3981, allocations: 2.406 kB / 455.1 MB, free: 26.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3983, allocations: 38.03 kB / 455.1 MB, free: 26.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3983, allocations: 5.906 kB / 455.1 MB, free: 26.7 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.3985, allocations: 152.1 kB / 455.3 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.3985, allocations: 36 kB / 455.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.347e-05/0.3986, allocations: 41.39 kB / 455.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3986, allocations: 2.562 kB / 455.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3987, allocations: 4 kB / 455.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3987, allocations: 0 / 455.4 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.3992, allocations: 399.8 kB / 455.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3992, allocations: 0 / 455.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3993, allocations: 31.75 kB / 455.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3994, allocations: 0 / 455.8 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3994, allocations: 10.61 kB / 455.8 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3994, allocations: 0 / 455.8 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3994, allocations: 6.469 kB / 455.8 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.3998, allocations: 345 kB / 456.2 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/0.3999, allocations: 115.1 kB / 456.3 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.3999, allocations: 7.188 kB / 456.3 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.4, allocations: 10.58 kB / 456.3 MB, free: 25.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4001, allocations: 8.578 kB / 456.3 MB, free: 25.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4001, allocations: 10.56 kB / 456.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.4003, allocations: 240.4 kB / 456.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4003, allocations: 0 / 456.5 MB, free: 25.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.4007, allocations: 70.94 kB / 456.6 MB, free: 25.7 MB / 350.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 (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.0001173/0.4008, allocations: 94.22 kB / 456.7 MB, free: 25.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.4012, allocations: 159.3 kB / 456.9 MB, free: 25.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4012, allocations: 0.5 kB / 456.9 MB, free: 25.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4013, allocations: 77.08 kB / 456.9 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.4018, allocations: 43.8 kB / 457 MB, free: 25.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4031, allocations: 0.8356 MB / 457.8 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.4034, allocations: 0.8091 MB / 458.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.4035, allocations: 24.91 kB / 458.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4035, allocations: 0 / 458.6 MB, free: 24.21 MB / 350.1 MB Notification: Performance of Templates: time 0.007935/0.4115, allocations: 3.645 MB / 462.3 MB, free: 23.81 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.makefile make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Sugar_Cane.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 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