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.001079/0.001079, allocations: 99.91 kB / 15.71 MB, free: 452 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.001769/0.001769, allocations: 173.8 kB / 16.58 MB, free: 6.422 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.574/1.574, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.4355/0.4355, allocations: 28.84 MB / 320.5 MB, free: 6.277 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.000474, allocations: 8 kB / 388.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.401, allocations: 57.48 MB / 446 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.PopulationDynamics.LarchBudMoth.LBM): time 0.002147/0.4032, allocations: 1.92 MB / 447.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008705/0.4041, allocations: 422.3 kB / 448.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.4042, allocations: 2.719 kB / 448.3 MB, free: 31.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.4043, allocations: 28.31 kB / 448.3 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.4045, allocations: 17.06 kB / 448.4 MB, free: 31.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.4049, allocations: 114.4 kB / 448.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.4051, allocations: 283.8 kB / 448.8 MB, free: 30.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.4054, allocations: 152.5 kB / 448.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.4055, allocations: 103.1 kB / 449 MB, free: 30.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.4056, allocations: 131.1 kB / 449.1 MB, free: 30.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.4057, allocations: 8.812 kB / 449.1 MB, free: 30.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.4058, allocations: 36.02 kB / 449.2 MB, free: 30.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.4059, allocations: 94.38 kB / 449.3 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.4059, allocations: 93.42 kB / 449.4 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.4062, allocations: 267.3 kB / 449.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4062, allocations: 6.625 kB / 449.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4062, allocations: 0 / 449.6 MB, free: 30.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.4062, allocations: 0 / 449.6 MB, free: 30.47 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.001012/0.4073, allocations: 0.695 MB / 450.3 MB, free: 29.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4073, allocations: 8.562 kB / 450.3 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.4074, allocations: 68.17 kB / 450.4 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4076, allocations: 263.5 kB / 450.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.4076, allocations: 38.19 kB / 450.7 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.4077, allocations: 45.22 kB / 450.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.4084, allocations: 466 kB / 451.2 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4084, allocations: 0 / 451.2 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.4085, allocations: 22.22 kB / 451.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.4085, allocations: 11.88 kB / 451.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006153/0.4091, allocations: 375 kB / 451.6 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4106, allocations: 1.154 MB / 452.7 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.4117, allocations: 0.525 MB / 453.3 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.4119, allocations: 174.6 kB / 453.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-05/0.412, allocations: 37.44 kB / 453.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.4125, allocations: 275.6 kB / 453.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.763e-06/0.4125, allocations: 0 / 453.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009487/0.4134, allocations: 0.5552 MB / 454.3 MB, free: 28.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4135, allocations: 82.77 kB / 454.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.4138, allocations: 346.9 kB / 454.7 MB, free: 27.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4138, allocations: 36.55 kB / 454.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.414, allocations: 251.8 kB / 455 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.75e-05/0.4141, allocations: 134.5 kB / 455.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.4141, allocations: 6.75 kB / 455.1 MB, free: 27.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.4142, allocations: 354.7 kB / 455.5 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.4145, allocations: 142.4 kB / 455.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.4147, allocations: 188.8 kB / 455.8 MB, free: 27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.415, allocations: 161.6 kB / 456 MB, free: 26.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.415, allocations: 0 / 456 MB, free: 26.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006102/0.4157, allocations: 434 kB / 456.4 MB, free: 26.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4157, allocations: 9.203 kB / 456.4 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4157, allocations: 48 / 456.4 MB, free: 26.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.4157, allocations: 13.83 kB / 456.4 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.416, allocations: 73.66 kB / 456.5 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.416, allocations: 2.625 kB / 456.5 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4162, allocations: 26.95 kB / 456.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.4162, allocations: 11.88 kB / 456.5 MB, free: 26.74 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: Rawfiber.level:DISCRETE(start = Rawfiber.x0 fixed = true ) "Discrete state variable" type: Real Eggs.level:DISCRETE(start = Eggs.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,Eggs.level,$PRE.Rawfiber.level,Rawfiber.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002427/0.4165, allocations: 193.7 kB / 456.7 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.4165, allocations: 45.91 kB / 456.8 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007302/0.4172, allocations: 459.6 kB / 457.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4173, allocations: 5.25 kB / 457.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4173, allocations: 3.234 kB / 457.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4173, allocations: 2.625 kB / 457.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.4178, allocations: 0.4983 MB / 457.7 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4178, allocations: 3.281 kB / 457.7 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.4181, allocations: 62.92 kB / 457.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4181, allocations: 2.625 kB / 457.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.4181, allocations: 17.91 kB / 457.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4181, allocations: 5.078 kB / 457.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4181, allocations: 1.031 kB / 457.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.4189, allocations: 466.8 kB / 458.3 MB, free: 25.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.4189, allocations: 115.6 kB / 458.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.419, allocations: 12.34 kB / 458.4 MB, free: 25.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4191, allocations: 13.34 kB / 458.4 MB, free: 25.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.4192, allocations: 35.2 kB / 458.4 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.4192, allocations: 12.97 kB / 458.4 MB, free: 25.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4195, allocations: 248.8 kB / 458.7 MB, free: 25.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4195, allocations: 0 / 458.7 MB, free: 25.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.4198, allocations: 89.41 kB / 458.8 MB, free: 25.55 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 (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.0001797/0.42, allocations: 108.9 kB / 458.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.4207, allocations: 373 kB / 459.2 MB, free: 25.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4207, allocations: 1.406 kB / 459.2 MB, free: 25.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.4211, allocations: 199.3 kB / 459.4 MB, free: 25.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.4213, allocations: 25.33 kB / 459.5 MB, free: 25.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.4229, allocations: 1.027 MB / 460.5 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.4233, allocations: 0.8496 MB / 461.3 MB, free: 23.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.4234, allocations: 34.03 kB / 461.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4234, allocations: 0 / 461.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of Templates: time 0.008613/0.432, allocations: 4.016 MB / 465.4 MB, free: 23.49 MB / 350.1 MB make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.makefile make -j1 -f SystemDynamics_SystemDynamics.PopulationDynamics.LarchBudMoth.LBM.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.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