Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.000961, allocations: 93.31 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2118/0.2118, allocations: 38.05 MB / 310.7 MB, free: 5.922 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005948/0.0005948, allocations: 12 kB / 377.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3839, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006668/0.3906, allocations: 6.912 MB / 441 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.3939, allocations: 2.358 MB / 443.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.3942, allocations: 43.69 kB / 443.4 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.3945, allocations: 107.2 kB / 443.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.3952, allocations: 362.5 kB / 443.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.3959, allocations: 359.3 kB / 444.3 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.397, allocations: 1.509 MB / 445.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.3981, allocations: 0.8275 MB / 446.6 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.3985, allocations: 342.4 kB / 446.9 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.3991, allocations: 0.5334 MB / 447.5 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.3991, allocations: 32 kB / 447.5 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.3995, allocations: 231.6 kB / 447.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.3998, allocations: 387.1 kB / 448.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003142/0.4001, allocations: 411.7 kB / 448.5 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005898/0.4007, allocations: 0.7521 MB / 449.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4007, allocations: 0 / 449.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4007, allocations: 0 / 449.2 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.4007, allocations: 0 / 449.2 MB, free: 3.496 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001379/0.4021, allocations: 0.9235 MB / 450.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4022, allocations: 8.031 kB / 450.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006622/0.4028, allocations: 143.8 kB / 450.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.4035, allocations: 0.505 MB / 450.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.4035, allocations: 66.3 kB / 450.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4036, allocations: 80.03 kB / 451 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4049, allocations: 1.134 MB / 452.1 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.4049, allocations: 7.938 kB / 452.1 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.405, allocations: 35.98 kB / 452.1 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/0.405, allocations: 49.98 kB / 452.2 MB, free: 364 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.4062, allocations: 0.8662 MB / 453.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.4114, allocations: 5.055 MB / 458.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.4121, allocations: 428.5 kB / 458.5 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.4125, allocations: 213.7 kB / 458.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4125, allocations: 11.98 kB / 458.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.4126, allocations: 38.56 kB / 458.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.4126, allocations: 0 / 458.8 MB, free: 9.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001772/0.4144, allocations: 1.071 MB / 459.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.4145, allocations: 85.23 kB / 459.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.415, allocations: 0.4977 MB / 460.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4151, allocations: 29.7 kB / 460.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.4154, allocations: 453.7 kB / 460.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.4156, allocations: 157.8 kB / 461.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.4157, allocations: 65.69 kB / 461.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4158, allocations: 370.8 kB / 461.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.4162, allocations: 233.9 kB / 461.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.417, allocations: 0.6171 MB / 462.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.4181, allocations: 0.9418 MB / 463.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.4181, allocations: 4 kB / 463.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001339/0.4195, allocations: 0.8923 MB / 464.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4195, allocations: 12 kB / 464.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.4196, allocations: 12 kB / 464.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/0.4196, allocations: 24.06 kB / 464.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/0.4203, allocations: 219.6 kB / 464.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.4203, allocations: 27.88 kB / 464.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.4207, allocations: 59.8 kB / 464.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.4208, allocations: 36 kB / 464.6 MB, free: 3.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0003723/0.4212, allocations: 305.4 kB / 464.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.4213, allocations: 55.34 kB / 464.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009445/0.4222, allocations: 0.5602 MB / 465.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4222, allocations: 4 kB / 465.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4222, allocations: 0 / 465.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4223, allocations: 3.984 kB / 465.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4242, allocations: 1.33 MB / 466.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.4243, allocations: 8.25 kB / 466.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.4247, allocations: 107.9 kB / 466.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.4247, allocations: 15.88 kB / 466.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.4248, allocations: 15.98 kB / 467 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.4248, allocations: 4 kB / 467 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4248, allocations: 7.938 kB / 467 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007983/0.4256, allocations: 0.6402 MB / 467.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4257, allocations: 128.4 kB / 467.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.4258, allocations: 19.94 kB / 467.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.426, allocations: 23.97 kB / 467.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.4261, allocations: 31.95 kB / 467.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4261, allocations: 12 kB / 467.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.4265, allocations: 330.8 kB / 468.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4265, allocations: 4 kB / 468.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006218/0.4271, allocations: 160 kB / 468.3 MB, free: 15.37 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001486/0.4273, allocations: 111.5 kB / 468.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.4282, allocations: 0.602 MB / 469 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4282, allocations: 0 / 469 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.4286, allocations: 249.1 kB / 469.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/0.4294, allocations: 114.5 kB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.432, allocations: 1.786 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/0.4328, allocations: 0.996 MB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.4329, allocations: 59.42 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4329, allocations: 0 / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Templates: time 0.01225/0.4452, allocations: 8.126 MB / 480.3 MB, free: 3.234 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.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 OMCppPowerSystems_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o] Error 1