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.001041/0.001041, allocations: 98.88 kB / 16.02 MB, free: 76 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: 184.2 kB / 16.92 MB, free: 6.684 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.567/1.567, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.3952/0.3952, allocations: 28.84 MB / 320.9 MB, free: 6.156 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 389.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3701, allocations: 57.48 MB / 446.6 MB, free: 32.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Sugar_Cane): time 0.002207/0.3723, allocations: 1.749 MB / 448.4 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000586/0.3729, allocations: 309 kB / 448.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.3732, allocations: 9.812 kB / 448.7 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.3734, allocations: 47.38 kB / 448.7 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3735, allocations: 26.25 kB / 448.7 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3739, allocations: 136 kB / 448.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000473/0.3743, allocations: 381.9 kB / 449.2 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.3748, allocations: 306 kB / 449.5 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.3749, allocations: 90.55 kB / 449.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3751, allocations: 122.1 kB / 449.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.3751, allocations: 12.56 kB / 449.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.3751, allocations: 8.719 kB / 449.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.3752, allocations: 56.39 kB / 449.8 MB, free: 30.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3753, allocations: 180.1 kB / 450 MB, free: 30.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3756, allocations: 271.7 kB / 450.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3756, allocations: 0 / 450.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3756, allocations: 0 / 450.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3756, allocations: 0 / 450.3 MB, free: 30.43 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.0007511/0.3763, allocations: 0.6316 MB / 450.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3764, allocations: 8.781 kB / 450.9 MB, free: 29.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.427e-05/0.3765, allocations: 54.31 kB / 451 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.3768, allocations: 330 kB / 451.3 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.3769, allocations: 40.38 kB / 451.3 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.377, allocations: 51.94 kB / 451.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.3776, allocations: 483.7 kB / 451.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3776, allocations: 2.938 kB / 451.9 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.3777, allocations: 26.91 kB / 451.9 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.3777, allocations: 15 kB / 451.9 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.3781, allocations: 252.2 kB / 452.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.3797, allocations: 1.765 MB / 453.9 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.3801, allocations: 214.5 kB / 454.1 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.3802, allocations: 63.89 kB / 454.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3802, allocations: 2.75 kB / 454.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.3803, allocations: 37.03 kB / 454.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.3803, allocations: 0 / 454.2 MB, free: 27.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0004081/0.3807, allocations: 226.4 kB / 454.4 MB, free: 27.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.3807, allocations: 51.41 kB / 454.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.381, allocations: 354.9 kB / 454.8 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3811, allocations: 29.7 kB / 454.9 MB, free: 27.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3812, allocations: 256.3 kB / 455.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.3812, allocations: 74.27 kB / 455.2 MB, free: 27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3813, allocations: 33.09 kB / 455.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.976e-05/0.3814, allocations: 346 kB / 455.6 MB, free: 26.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.3815, allocations: 58.16 kB / 455.6 MB, free: 26.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3816, allocations: 130.3 kB / 455.7 MB, free: 26.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.3819, allocations: 196.8 kB / 455.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3819, allocations: 0 / 455.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003232/0.3822, allocations: 256.2 kB / 456.2 MB, free: 26.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3822, allocations: 8.594 kB / 456.2 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3822, allocations: 4 kB / 456.2 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3823, allocations: 2.938 kB / 456.2 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3825, allocations: 47.78 kB / 456.2 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3825, allocations: 9.781 kB / 456.3 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3826, allocations: 29.81 kB / 456.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3826, allocations: 6.844 kB / 456.3 MB, free: 26.21 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.3828, allocations: 164.6 kB / 456.5 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3828, allocations: 32.75 kB / 456.5 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.3829, allocations: 39.56 kB / 456.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3829, allocations: 2.156 kB / 456.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3829, allocations: 4 kB / 456.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3829, allocations: 5.625 kB / 456.5 MB, free: 26.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.3833, allocations: 395.6 kB / 456.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3833, allocations: 0 / 456.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3835, allocations: 26.72 kB / 456.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3835, allocations: 2.625 kB / 456.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3835, allocations: 4 kB / 457 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3835, allocations: 2.625 kB / 457 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3836, allocations: 0 / 457 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/0.384, allocations: 363.6 kB / 457.3 MB, free: 25.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.384, allocations: 111.8 kB / 457.4 MB, free: 25.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3841, allocations: 6.625 kB / 457.4 MB, free: 25.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.3842, allocations: 0 / 457.4 MB, free: 25.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.3842, allocations: 12.67 kB / 457.4 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3842, allocations: 5.25 kB / 457.4 MB, free: 25.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002034/0.3844, allocations: 240.2 kB / 457.7 MB, free: 25.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3845, allocations: 4 kB / 457.7 MB, free: 25.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3848, allocations: 78.78 kB / 457.8 MB, free: 25.21 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 (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.0001097/0.3849, allocations: 103.6 kB / 457.9 MB, free: 25.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3852, allocations: 159.6 kB / 458 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3852, allocations: 0 / 458 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.3853, allocations: 72.59 kB / 458.1 MB, free: 25.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.3858, allocations: 44 kB / 458.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.387, allocations: 0.8822 MB / 459 MB, free: 24.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3873, allocations: 0.8143 MB / 459.8 MB, free: 23.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.3874, allocations: 25 kB / 459.9 MB, free: 23.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3874, allocations: 0 / 459.9 MB, free: 23.68 MB / 350.1 MB Notification: Performance of Templates: time 0.006722/0.3941, allocations: 3.642 MB / 463.5 MB, free: 23.29 MB / 350.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