Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") translateModel(SystemDynamics.WorldDynamics.World2.Scenario_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, 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.0009962/0.0009958, allocations: 196.2 kB / 16.79 MB, free: 6.812 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.696/1.696, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SystemDynamics 2.1.2-master/package.mo): time 0.5992/0.5992, allocations: 28.79 MB / 319.4 MB, free: 5.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.89 kB / 386.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6459, allocations: 56.4 MB / 443 MB, free: 39.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(SystemDynamics.WorldDynamics.World2.Scenario_2): time 0.007142/0.6531, allocations: 3.649 MB / 446.6 MB, free: 37.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.656, allocations: 0.664 MB / 447.3 MB, free: 37.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007325/0.6567, allocations: 14.81 kB / 447.3 MB, free: 37.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.6573, allocations: 126.7 kB / 447.4 MB, free: 37.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.6577, allocations: 98.22 kB / 447.5 MB, free: 37.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.6585, allocations: 310.5 kB / 447.8 MB, free: 37.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.6595, allocations: 0.8087 MB / 448.6 MB, free: 36.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008792/0.6604, allocations: 0.601 MB / 449.2 MB, free: 36.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.6607, allocations: 307.2 kB / 449.5 MB, free: 36.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.6611, allocations: 429.5 kB / 449.9 MB, free: 36.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.6612, allocations: 55.31 kB / 450 MB, free: 36.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.6615, allocations: 79.7 kB / 450.1 MB, free: 36.46 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.6619, allocations: 415.1 kB / 450.5 MB, free: 36.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.6623, allocations: 0.581 MB / 451.1 MB, free: 35.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008282/0.6632, allocations: 0.811 MB / 451.9 MB, free: 35.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.6632, allocations: 0 / 451.9 MB, free: 35.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6632, allocations: 0 / 451.9 MB, free: 35.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.6632, allocations: 0 / 451.9 MB, free: 35.52 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002407/0.6656, allocations: 1.79 MB / 453.7 MB, free: 34.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.6657, allocations: 15.38 kB / 453.7 MB, free: 34.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000264/0.666, allocations: 194 kB / 453.9 MB, free: 34.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000877/0.6669, allocations: 0.7458 MB / 454.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/0.667, allocations: 75.12 kB / 454.7 MB, free: 33.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.6671, allocations: 103.9 kB / 454.8 MB, free: 33.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6689, allocations: 1.157 MB / 456 MB, free: 33.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.6689, allocations: 8.062 kB / 456 MB, free: 33.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.669, allocations: 48.88 kB / 456 MB, free: 33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.669, allocations: 27.44 kB / 456 MB, free: 33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.6705, allocations: 1.09 MB / 457.1 MB, free: 32.74 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/0.675, allocations: 3.682 MB / 460.8 MB, free: 30.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.6767, allocations: 1.323 MB / 462.1 MB, free: 30.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005643/0.6773, allocations: 495.7 kB / 462.6 MB, free: 30.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/0.6774, allocations: 22.59 kB / 462.6 MB, free: 30.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6774, allocations: 38.16 kB / 462.7 MB, free: 30.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.775e-06/0.6774, allocations: 0 / 462.7 MB, free: 30.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.002086/0.6795, allocations: 1.52 MB / 464.2 MB, free: 29.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.6796, allocations: 57.22 kB / 464.2 MB, free: 29.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.681, allocations: 1.29 MB / 465.5 MB, free: 29.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.6811, allocations: 40.58 kB / 465.6 MB, free: 29.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005943/0.6817, allocations: 0.7638 MB / 466.3 MB, free: 28.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.6819, allocations: 233.7 kB / 466.6 MB, free: 28.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.6821, allocations: 118.6 kB / 466.7 MB, free: 28.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6822, allocations: 333.3 kB / 467 MB, free: 28.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/0.6828, allocations: 441.4 kB / 467.4 MB, free: 27.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.6834, allocations: 0.5263 MB / 468 MB, free: 27.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.6849, allocations: 0.9884 MB / 469 MB, free: 27.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.6849, allocations: 1.344 kB / 469 MB, free: 27.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002129/0.687, allocations: 1.185 MB / 470.1 MB, free: 27.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.6871, allocations: 5.938 kB / 470.1 MB, free: 27.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6871, allocations: 2.469 kB / 470.2 MB, free: 27.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.6871, allocations: 9.656 kB / 470.2 MB, free: 27.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.6877, allocations: 130.1 kB / 470.3 MB, free: 27.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/0.6877, allocations: 9.812 kB / 470.3 MB, free: 27.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.6879, allocations: 56 kB / 470.4 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.688, allocations: 22.12 kB / 470.4 MB, free: 27.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (CIAF.Integrator1.local_reset,Pollution.Integrator1.local_reset,Capital_Investment.Integrator1.local_reset,Natural_Resources.Integrator1.local_reset,Population.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0006167/0.6886, allocations: 380.4 kB / 470.7 MB, free: 26.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/0.6889, allocations: 142.3 kB / 470.9 MB, free: 26.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.6911, allocations: 1.193 MB / 472.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.6911, allocations: 10.41 kB / 472.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6911, allocations: 1.438 kB / 472.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.6911, allocations: 3.328 kB / 472.1 MB, free: 26.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/0.6951, allocations: 2.356 MB / 474.4 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6951, allocations: 0 / 474.4 MB, free: 25.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.6956, allocations: 113.5 kB / 474.6 MB, free: 25.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6956, allocations: 2.438 kB / 474.6 MB, free: 25.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.6957, allocations: 16.8 kB / 474.6 MB, free: 25.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6957, allocations: 6.281 kB / 474.6 MB, free: 25.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6957, allocations: 0 / 474.6 MB, free: 25.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.6987, allocations: 1.867 MB / 476.4 MB, free: 24.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.6989, allocations: 206.2 kB / 476.7 MB, free: 24.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.313e-05/0.699, allocations: 14.69 kB / 476.7 MB, free: 24.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.6992, allocations: 13.75 kB / 476.7 MB, free: 24.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6993, allocations: 40.08 kB / 476.7 MB, free: 24.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.517e-05/0.6994, allocations: 29.11 kB / 476.7 MB, free: 24.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.7009, allocations: 0.8932 MB / 477.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.701, allocations: 0 / 477.6 MB, free: 24.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008489/0.7018, allocations: 213.6 kB / 477.8 MB, free: 24.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Population.Integrator1.y,Natural_Resources.Integrator1.y,Capital_Investment.Integrator1.y,Pollution.Integrator1.y,CIAF.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 (67): * Single equations (assignments): 67 * 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.0002686/0.7021, allocations: 110.3 kB / 478 MB, free: 24.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.7039, allocations: 0.9907 MB / 478.9 MB, free: 23.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7039, allocations: 1.312 kB / 478.9 MB, free: 23.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008546/0.7048, allocations: 0.506 MB / 479.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.7057, allocations: 93.28 kB / 479.5 MB, free: 23.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/0.7113, allocations: 3.442 MB / 483 MB, free: 21.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/0.7126, allocations: 1.308 MB / 484.3 MB, free: 21.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.7128, allocations: 57.11 kB / 484.4 MB, free: 21.07 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.7128, allocations: 3.938 kB / 484.4 MB, free: 21.07 MB / 366.1 MB Notification: Performance of Templates: time 0.03376/0.7466, allocations: 10.97 MB / 495.3 MB, free: 17.47 MB / 366.1 MB make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.makefile make -j1 -f SystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2.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.WorldDynamics.World2.Scenario_2CalcHelperMain.o OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppSystemDynamics_SystemDynamics.WorldDynamics.World2.Scenario_2CalcHelperMain.o] Error 1