Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.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.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") translateModel(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 97.78 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.002017/0.002017, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.531/1.531, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4096/0.4096, allocations: 28.84 MB / 320.9 MB, free: 6.219 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003588, allocations: 8 kB / 389.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3822, allocations: 57.49 MB / 446.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002384/0.3847, allocations: 2.027 MB / 448.6 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009902/0.3857, allocations: 419.5 kB / 449.1 MB, free: 31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3858, allocations: 5.531 kB / 449.1 MB, free: 31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3859, allocations: 29.03 kB / 449.1 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3861, allocations: 18.12 kB / 449.1 MB, free: 30.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.3865, allocations: 117.4 kB / 449.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.3868, allocations: 309.9 kB / 449.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.3871, allocations: 185.8 kB / 449.7 MB, free: 30.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.3872, allocations: 101.2 kB / 449.8 MB, free: 30.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3874, allocations: 144.4 kB / 449.9 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.3874, allocations: 11.31 kB / 450 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.3875, allocations: 33.5 kB / 450 MB, free: 30.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3877, allocations: 97.61 kB / 450.1 MB, free: 30.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.3878, allocations: 202.2 kB / 450.3 MB, free: 30.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3881, allocations: 261.9 kB / 450.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3881, allocations: 0 / 450.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3881, allocations: 0 / 450.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.3881, allocations: 10.84 kB / 450.5 MB, free: 30.25 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001098/0.3892, allocations: 0.6832 MB / 451.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3893, allocations: 12.38 kB / 451.2 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.3894, allocations: 61.25 kB / 451.3 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.3896, allocations: 280.5 kB / 451.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.411e-05/0.3897, allocations: 36.19 kB / 451.6 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.3897, allocations: 39.47 kB / 451.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/0.3905, allocations: 464.5 kB / 452.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3905, allocations: 7.062 kB / 452.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3905, allocations: 26.12 kB / 452.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3906, allocations: 11.47 kB / 452.1 MB, free: 29.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.3912, allocations: 370.8 kB / 452.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.3927, allocations: 1.164 MB / 453.7 MB, free: 28.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3939, allocations: 0.525 MB / 454.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.3942, allocations: 175.4 kB / 454.4 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.3943, allocations: 43.17 kB / 454.4 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.3948, allocations: 265.8 kB / 454.7 MB, free: 28.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.683e-06/0.3948, allocations: 2.719 kB / 454.7 MB, free: 28.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.00103/0.3958, allocations: 0.5549 MB / 455.2 MB, free: 27.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3959, allocations: 96.06 kB / 455.3 MB, free: 27.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.3963, allocations: 353.2 kB / 455.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.3964, allocations: 32.23 kB / 455.7 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3965, allocations: 250.3 kB / 455.9 MB, free: 27.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.3966, allocations: 136.4 kB / 456.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3967, allocations: 34.39 kB / 456.1 MB, free: 27.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3968, allocations: 353.8 kB / 456.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.397, allocations: 144.4 kB / 456.6 MB, free: 26.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.3973, allocations: 197.9 kB / 456.8 MB, free: 26.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.3999, allocations: 0.6714 MB / 457.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3999, allocations: 0 / 457.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006903/0.4006, allocations: 434.8 kB / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.4006, allocations: 5.25 kB / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4007, allocations: 0 / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.4007, allocations: 2.625 kB / 457.9 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.401, allocations: 74.3 kB / 458 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.401, allocations: 3.938 kB / 458 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.4012, allocations: 42.58 kB / 458 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4012, allocations: 7.938 kB / 458 MB, free: 26.34 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Eggs.level:DISCRETE(start = Eggs.x0 fixed = true ) "Discrete state variable" type: Real Rawfiber.level:DISCRETE(start = Rawfiber.x0 fixed = true ) "Discrete state variable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.Eggs.level,$PRE.Rawfiber.level,Rawfiber.level,Eggs.level) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002539/0.4015, allocations: 184.2 kB / 458.2 MB, free: 26.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.4015, allocations: 37.56 kB / 458.2 MB, free: 26.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009025/0.4024, allocations: 465.8 kB / 458.7 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4025, allocations: 4.281 kB / 458.7 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4025, allocations: 5.125 kB / 458.7 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4025, allocations: 4.328 kB / 458.7 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.403, allocations: 0.493 MB / 459.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4031, allocations: 1.375 kB / 459.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.4033, allocations: 80.7 kB / 459.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4034, allocations: 2.531 kB / 459.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.4034, allocations: 6.531 kB / 459.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.4034, allocations: 2.656 kB / 459.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4034, allocations: 3.938 kB / 459.3 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007622/0.4042, allocations: 471.9 kB / 459.8 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.036e-05/0.4042, allocations: 119.7 kB / 459.9 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.4043, allocations: 8.281 kB / 459.9 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4045, allocations: 17.66 kB / 459.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.29e-05/0.4045, allocations: 26.09 kB / 459.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.4046, allocations: 12.78 kB / 459.9 MB, free: 25.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002629/0.4048, allocations: 256.4 kB / 460.2 MB, free: 25.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4049, allocations: 4 kB / 460.2 MB, free: 25.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.4052, allocations: 85.09 kB / 460.3 MB, free: 25.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,Eggs.level,Rawfiber.level) * Number of discrete states: 2 (Eggs.level,Rawfiber.level) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001797/0.4054, allocations: 113.8 kB / 460.4 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007487/0.4062, allocations: 373.6 kB / 460.7 MB, free: 24.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4062, allocations: 9.062 kB / 460.8 MB, free: 24.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003899/0.4066, allocations: 201.6 kB / 461 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4069, allocations: 26.91 kB / 461 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.4086, allocations: 1.079 MB / 462.1 MB, free: 24.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4089, allocations: 0.8483 MB / 462.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.409, allocations: 29.75 kB / 462.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4091, allocations: 0 / 462.9 MB, free: 23.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008388/0.4175, allocations: 3.988 MB / 466.9 MB, free: 23.04 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.makefile make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.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.PopulationDynamics.LarchBudMoth.LBMCalcHelperMain.o OMCppSystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBMCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBMCalcHelperMain.o] Error 1